I'm looking for a smarter way to run a macro that copies elements of a filtered list to a table.
The loop currently runs to the defined end column (70) however the actual last populated cell could be in column 30, but it continues to loop though the empty cells.
I'd like it to stop looping through once it finds the last value in that particular row. I did try End(xlToLeftRight) but not sure of the syntax.
The relevant code is:
The line I'm interested in is![]()
Please Login or Register to view this content.
Can someone point me in the right direction please?![]()
Please Login or Register to view this content.
Bookmarks