Hi all,
I'm new to excel vba, need some help with the codes.
Information:
3 sheets -1,2,3
Need to count the number of row in sheet 3. Then in sheet 1, go all the way to the last row and autofill a range of cells (eg.A35 to G35 but row numbers may change, column remains the same). Auto fill all the way till the number of row in sheet 3 is the same.
Sheets("3").Select
Range("A1").Select
numRows = Range(Selection, Selection.End(xlDown)).Rows.Count
Sheets("1").Select
Range("A1").End(xlDown).Select
Selection.AutoFill Destination:=Range(******, Cells(numRows, 1)), Type:=xlFillDefault
Thank you
Bookmarks