D
Dominique Feteau
I recorded a macro that does a number of things. (filters a table, selects a
defined range, copies it into another worksheet, adjusts the column widths,
inserts 3 new columns and names them, and inserts 2 formulas in the 2nd row
of 2 of the new columns).
What I want to do i copy the formula down, but I only know how to do that if
the number of rows are static. How can I tell the macro to count how many
rows there are and copy the contents of a given cell that number of rows.
Or have it start to copy down, but have it look to the adjacent cell to see
if its empty. if its empty, then stop copying.
any solutions would be greatly appreciated.
thanks
niq
defined range, copies it into another worksheet, adjusts the column widths,
inserts 3 new columns and names them, and inserts 2 formulas in the 2nd row
of 2 of the new columns).
What I want to do i copy the formula down, but I only know how to do that if
the number of rows are static. How can I tell the macro to count how many
rows there are and copy the contents of a given cell that number of rows.
Or have it start to copy down, but have it look to the adjacent cell to see
if its empty. if its empty, then stop copying.
any solutions would be greatly appreciated.
thanks
niq