Dear all,
I'm new user of Excel VBA.
The following code autofills column EX based on the values of column EW:
I would like to find a way to automatically find the last filled column and use this to autofill the column next to that. In the above example I would like to change EW with the last filled column and EX with the column next to that. How can I do that?Sub mfill() Columns("EW:EW").Select Selection.AutoFill destination:=Columns("EW:EX"), Type:=xlFillDefault End Sub
Thanks a lot!
Bookmarks