Hi
I'm working on macro that allow me to copy last cell in column A to all empty rows after that cell in column A until last used raw in column C.
I have tried few but non of them are working.
I have userform that fills the sheet with data but one listbox is multiple selection and in column C I have more lines of entries than in other columns so the gaps needs to be populated with the data in the last row used in column A
Thanks
Tom
I'm working on macro that allow me to copy last cell in column A to all empty rows after that cell in column A until last used raw in column C.
I have tried few but non of them are working.
I have userform that fills the sheet with data but one listbox is multiple selection and in column C I have more lines of entries than in other columns so the gaps needs to be populated with the data in the last row used in column A
Code:
Dim lastRow As Long
lastRow = Range("C" & Rows.Count).End(xlUp).Row
Range("A2").AutoFill Destination:=Range("A2:A" & lastRow)
Thanks
Tom