I have a spreadsheet that has 9 columns and a varying amount of rows.
I need to create a macro that selects all 9 columns for every row in which column #2 has data.
Appreciate any help.
Thanks
I have a spreadsheet that has 9 columns and a varying amount of rows.
I need to create a macro that selects all 9 columns for every row in which column #2 has data.
Appreciate any help.
Thanks
Hi,
...and then what do you want to do. As a general principle you should avoid selecting cells/ranges unless you only want to position the cursor.
If for instance you want to copy them then this is one way - assumes your data starts in A1
Please Login or Register to view this content.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
This works - almost...
I need the range to copy to begin with cell A2 and not A1.
I made the following changes but it doesn't work correctly..
What am I overlooking?Please Login or Register to view this content.
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks