Hi,
Last week I found a thread with VBA that enabled blank rows below a value to be filled in with that value until the next value, then the rows below were filled in with the second value and so on.
It worked in Column A only. How can this work in all columns that need the same treatment, A, B, C, etc.?
This is the VBA from the thread that I used:
Sub FillInFromRowAbove1()
With Range("A2", Cells(Rows.Count, "B").End(xlUp).Offset(, -1))
.SpecialCells(xlCellTypeBlanks).FormulaR1C1 = "=r[-1]c"
.Value = .Value
End With
End Sub
Thanks, Ann
Last week I found a thread with VBA that enabled blank rows below a value to be filled in with that value until the next value, then the rows below were filled in with the second value and so on.
It worked in Column A only. How can this work in all columns that need the same treatment, A, B, C, etc.?
This is the VBA from the thread that I used:
Sub FillInFromRowAbove1()
With Range("A2", Cells(Rows.Count, "B").End(xlUp).Offset(, -1))
.SpecialCells(xlCellTypeBlanks).FormulaR1C1 = "=r[-1]c"
.Value = .Value
End With
End Sub
Thanks, Ann