Sub Fill_Down()
'Modified 8/22/2019 12:30:48 AM EDT
Application.ScreenUpdating = False
Dim i As Long
Dim Lastrow As Long
Lastrow = Cells(Rows.Count, "A").End(xlUp).Row
For i = 4 To Lastrow
If Cells(i, 1).Value = "" Then Cells(i, 1).Value = Cells(i, 1).Offset(-1).Value
If Cells(i, 2).Value = "" Then Cells(i, 2).Value = Cells(i, 2).Offset(-1).Value
Next
Application.ScreenUpdating = True
End Sub
Sub FillDown()
With Range("A4:B" & Range("C" & Rows.Count).End(xlUp).Row).SpecialCells(xlCellTypeBlanks)
For Each a In .Areas
a.FormulaR1C1 = "=R[-1]C"
a.Value = a.Value
Next a
End With
End Sub
Try this:
Code:Sub Fill_Down() 'Modified 8/22/2019 12:30:48 AM EDT Application.ScreenUpdating = False Dim i As Long Dim Lastrow As Long Lastrow = Cells(Rows.Count, "A").End(xlUp).Row For i = 4 To Lastrow If Cells(i, 1).Value = "" Then Cells(i, 1).Value = Cells(i, 1).Offset(-1).Value If Cells(i, 2).Value = "" Then Cells(i, 2).Value = Cells(i, 2).Offset(-1).Value Next Application.ScreenUpdating = True End Sub
Another option.
Code:Sub FillDown() With Range("A4:B" & Range("C" & Rows.Count).End(xlUp).Row).SpecialCells(xlCellTypeBlanks) For Each a In .Areas a.FormulaR1C1 = "=R[-1]C" a.Value = a.Value Next a End With End Sub
Please see this video on this URL
https://www.youtube.com/watch?v=iIKqeaFvltQ
Thanks you so much!
Thanks you so much!
Thanks you so much!