J
Jim Moberg
Hi,
I have a macro set up to automate some tasks I am responsible for. Part of
the macro is to go to sheet2 and select the entire range of data. When
recording the macro I went to the start of the data (cell A2) and pressed
Ctrl + Shift + down arrow.
The resultant range came out to be A2:F307. I ran the macro on another set
of data and it selected the same exact range of cells (A2:F307) when it needs
to be A2:F272.
Is there a way to change the macro so it knows to dynamically select the
range of data each time it's run?
I have a macro set up to automate some tasks I am responsible for. Part of
the macro is to go to sheet2 and select the entire range of data. When
recording the macro I went to the start of the data (cell A2) and pressed
Ctrl + Shift + down arrow.
The resultant range came out to be A2:F307. I ran the macro on another set
of data and it selected the same exact range of cells (A2:F307) when it needs
to be A2:F272.
Is there a way to change the macro so it knows to dynamically select the
range of data each time it's run?