O
Ole
I want to use the autofill to copy a formula
by using a macro. When I register the macro VBA suggests ie
Selection.AutoFill Destination:=Range("C1:C8")
but I don't want to predetermine how long the range is to be, because it can
vary from 100 to 25000 rows, and I want the copy function to stop at the
last cell that has a value to the left.
Thanks Oystein (Norway)
by using a macro. When I register the macro VBA suggests ie
Selection.AutoFill Destination:=Range("C1:C8")
but I don't want to predetermine how long the range is to be, because it can
vary from 100 to 25000 rows, and I want the copy function to stop at the
last cell that has a value to the left.
Thanks Oystein (Norway)