tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi everyone
I need a macro that can message box me the last used column in the active sheet but many of the rows are merged and go past any data, I want to put data down the first column that's not being used but I'm hitting problems as we download the data and they merge so many cells so excel thinks the last column is g for example, because that is the last column with data in it but let's say row 10 is a merge of C10:K10, so I need it to find me K so I know the column I need is L
please help if you can
Tony
I need a macro that can message box me the last used column in the active sheet but many of the rows are merged and go past any data, I want to put data down the first column that's not being used but I'm hitting problems as we download the data and they merge so many cells so excel thinks the last column is g for example, because that is the last column with data in it but let's say row 10 is a merge of C10:K10, so I need it to find me K so I know the column I need is L
please help if you can
Tony