VBAProIWish
Well-known Member
- Joined
- Jul 6, 2009
- Messages
- 1,027
- Office Version
- 365
- Platform
- Windows
Hi,
I'd like a macro to find the column named "Earth" in row 1 and replace ALL and ONLY blank cells with the text "Blanks2"...
BUT...
It should first look at the "Galaxy" column (also in row 1) to find the last row with data in it. Once it knows the last row of data in the "Galaxy" column, the macro should stop putting the text "Blanks2" in the "Earth" column.
This is because the "Earth" column will now have some form of text in every cell equal to the last data row in the "Galaxy" column.
Regards
I'd like a macro to find the column named "Earth" in row 1 and replace ALL and ONLY blank cells with the text "Blanks2"...
BUT...
It should first look at the "Galaxy" column (also in row 1) to find the last row with data in it. Once it knows the last row of data in the "Galaxy" column, the macro should stop putting the text "Blanks2" in the "Earth" column.
This is because the "Earth" column will now have some form of text in every cell equal to the last data row in the "Galaxy" column.
Regards