Private Sub CommandButton3_Click()
Sheets("Harok2").Select
Rows(5).EntireRow.Copy '5 je natvrdo stanoveny radek, který se bude kopirovat
Sheets("Harok1").Select
Range("A26").End(xlDown).Offset(1, 0).Select
ActiveSheet.Paste
Application.CutCopyMode = False
Radek = ActiveCell.Row
Sheets("Harok1").Cells(Radek, 13) = Sheets("Harok1").Range("x5").Value/100
If ActiveCell.Row >= 51 Then
ActiveCell.Insert
End If
End Sub
citovat