Sub PosunRadkyDoPrazdnych()
Dim rowempty As Boolean
Dim emptyrow As Integer, radek As Integer
Application.ScreenUpdating = False
rowempty = False
For radek = 6 To Cells(Rows.Count, "B").End(xlUp).Row
If IsEmpty(Cells(radek, 2)) And rowempty = False Then
emptyrow = radek
rowempty = True
End If
If rowempty = True And Not Cells(radek, 2) = "" Then
Range("A" & emptyrow & ":K" & emptyrow).Value = Range("A" & radek & ":K" & radek).Value
Range("A" & radek & ":K" & radek).Value = ""
rowempty = False
radek = emptyrow
End If
Next radek
Application.ScreenUpdating = True
End Subcitovat