olivetwist
07-06-2015, 06:24 AM
I am running a macro to import excel files and need help.
I am needing to find code to set a variable "Y" to the column number of the next empty cell in a row.
For example: if row 6 has data from column 3 to 50 but column 32 is blank then set y = 32.
I am needing to find code to set a variable "Y" to the column number of the next empty cell in a row.
For example: if row 6 has data from column 3 to 50 but column 32 is blank then set y = 32.