I'm wondering if there is a way to perform a dynamic autofill & stop the autofill when it comes to a blank cell. I need the autofill to use the exact data within the other cells of the range.
I currently have the autofill where I specify the range (in this case it would be F1 - F26):
Range("F1").AutoFill Destination:=Range("F1:F26"), Type:=xlFillDefault
I have multiple spreadsheets that I need to perform an autofill but, they are not the same range.
For example,
One Spreadsheet may have a range of F1 - F26, another spreadsheet's range could be F1 - F8, another spreadsheet's range could be F1-F18, etc.. . They all have an empty cell at the end of the range so, I was thinking I could use this in helping me specify the range of each spreadsheet.
Thanks,
yagu99
I currently have the autofill where I specify the range (in this case it would be F1 - F26):
Range("F1").AutoFill Destination:=Range("F1:F26"), Type:=xlFillDefault
I have multiple spreadsheets that I need to perform an autofill but, they are not the same range.
For example,
One Spreadsheet may have a range of F1 - F26, another spreadsheet's range could be F1 - F8, another spreadsheet's range could be F1-F18, etc.. . They all have an empty cell at the end of the range so, I was thinking I could use this in helping me specify the range of each spreadsheet.
Thanks,
yagu99