Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Test()
Dim c As Range, r As Range
With ActiveSheet
For Each c In .Range(.[A1], .[A1].End(xlToRight))
For Each r In .Range(.[A2], .[A2].End(xlDown))
With Intersect(r.EntireRow, c.EntireColumn)
If Trim(.Value) = "" Then .Value = .Offset(-1).Value
End With
Next
Next
End With
End Sub
Sub Test()
Dim c As Range, r As Range
With ActiveSheet.[A1].CurrentRegion
For Each c In ActiveSheet.Range(ActiveSheet.[A1], ActiveSheet.[A1].End(xlToRight))
For Each r In ActiveSheet.Range(ActiveSheet.Cells(2, "A"), ActiveSheet.Cells(.Rows.Count, "A"))
With Intersect(r.EntireRow, c.EntireColumn)
If Trim(.Value) = "" Then .Value = .Offset(-1).Value
End With
Next
Next
End With
End Sub