lakers8175
IS-IT--Management
I have a looping copy/paste macro that runs through a certain # of rows and a certain # of columns.
I'd like to figure out how to know what column I am on and stop the macro at a specified column, ie: column "DZ"
Since this macro is used on spreadsheets of varying lengths, I was planning on setting a variable with the column letter, and then checking in the loop until I reach my variable.
Does someone have a snippet of code that may be useable?
Thanks.
I'd like to figure out how to know what column I am on and stop the macro at a specified column, ie: column "DZ"
Since this macro is used on spreadsheets of varying lengths, I was planning on setting a variable with the column letter, and then checking in the loop until I reach my variable.
Does someone have a snippet of code that may be useable?
Thanks.