Hi,
I have a macro that grabs data from a file, this is a table of 25x150 rows. The rows can vary.
So in my other tab I have formulas that start on Cell A5 and these reference the data in Tab #1.
All I want to do is have the macro copy the formulas in cell A5 down to as many records as was in the file of 25x150 rows. Since the rows varies, what is the best way to do this?
I was thinking of just having a formula "=Counta(A:A)" to count the records and then use offset, but there is probably a better way.
Thanks,
I have a macro that grabs data from a file, this is a table of 25x150 rows. The rows can vary.
So in my other tab I have formulas that start on Cell A5 and these reference the data in Tab #1.
All I want to do is have the macro copy the formulas in cell A5 down to as many records as was in the file of 25x150 rows. Since the rows varies, what is the best way to do this?
I was thinking of just having a formula "=Counta(A:A)" to count the records and then use offset, but there is probably a better way.
Thanks,