Hi, jack_daniel,
you would need to wrap your procedure with code-tags as requested by Forum Rule #3 instead of displaying in in red colour.
For taking care of thr empty cells to be filled you might consider to use
Sub EF974266()
On Error Resume Next
With ActiveCell
Range(Cells(1, .Column), Cells(Cells(Rows.Count, .Column + 1).End(xlUp).Row, .Column)).SpecialCells(xlCellTypeBlanks).FormulaR1C1 = "=R[-1]C"
End With
With ActiveSheet.UsedRange.Columns(ActiveCell.Column)
.Value = .Value
End With
End Sub
The catch as you call it shall take care of any cells empty or already filled? Should that be started by an event like changing/entering data?
Ciao,
Holger
Bookmarks