So I have to write a macro which automatically finds and extends a range which I have set to this
into the next empty column, but for some reason when I try to do that with this line;![]()
Range(startcell, endcell).Select
i get a 1004 error. Any ideas? lcol is what I have set as the next empty column.![]()
Selection.AutoFill Destination:=Range(startcell, endcell),lcol) Type:=xlFillDefault
Bookmarks