Phil Payne
Board Regular
- Joined
- May 17, 2013
- Messages
- 131
- Office Version
- 365
- Platform
- Windows
Hello all,
I have a worksheet (.xls) which is provided by an external group from their database.
When we run a macro to update our worksheet it opens the supplied worksheet and takes the data from its column "H".
I need to provide a warning to our group members (msgbox) that column H has been moved or omitted the instant our macro has been launched and then end the macro safely.
Points to note:
Can anyone tell me the vba code that can determine if Column H has been moved or omitted?
Thanks in advance.
I have a worksheet (.xls) which is provided by an external group from their database.
When we run a macro to update our worksheet it opens the supplied worksheet and takes the data from its column "H".
I need to provide a warning to our group members (msgbox) that column H has been moved or omitted the instant our macro has been launched and then end the macro safely.
Points to note:
- Column H heading is "Cumulative to date" but the heading may be in any row of that column H.
- We have no way of influencing how the output from the database is produced.
Can anyone tell me the vba code that can determine if Column H has been moved or omitted?
Thanks in advance.