I would like to create a macro that can fill down cells A2 through C in Sheet3, based on how many rows there are in Sheet 1. For example, I have 20 rows on Sheet 1...
And the macro should copy down all cells in A2 through C and stop with the total of rows from Sheet1.
I created the basic macro below to illustrate what I want.
I would like the AutoFill Destination range to match the number of rows from Sheet1 which will dynamically change when fresh data is copied into that sheet.
And the macro should copy down all cells in A2 through C and stop with the total of rows from Sheet1.
I created the basic macro below to illustrate what I want.
VBA Code:
Sheets("Sheet3").Activate
Range("A2:C2").Select
Selection[B].AutoFill Destination:=Range("A2:C20")[/B], Type:=xlFillDefault
I would like the AutoFill Destination range to match the number of rows from Sheet1 which will dynamically change when fresh data is copied into that sheet.