Sub jjj()
Dim a As Integer, b As Integer, x As Integer, y As Integer
x = Cells(Rows.Count, 1).End(xlUp).Row
y = Cells(1, Columns.Count).End(xlToLeft).Column
For a = 1 To x
For b = 1 To y
If Cells(a, b) = "" Then
Cells(a, b) = Cells(a - 1, b)
End If
Next b
Next a
MsgBox "complete"
End Sub