Does anyone know how to write a macro that will autofill a range if there is data in the cell to the left. (the same as double clicking on the autofill square)
I have this code
Selection.AutoFill Destination:=Range("a1:a5"
which works but I have to state the range.
If anyone understands what I'm talking about I would appreciate the help.
Eric
I have this code
Selection.AutoFill Destination:=Range("a1:a5"
which works but I have to state the range.
If anyone understands what I'm talking about I would appreciate the help.
Eric