BlackieHamel
Board Regular
- Joined
- May 9, 2014
- Messages
- 93
I'd like to construct an errorhandler: section with if-then-else logic based on different errors that arise. The two most common errors both generate the same error code: 1004. They occur when:
Is there a way I can create an error handler that returns a different MsgBox for each case?
Blackie
- The user attempts to create a new worksheet with a name that already exists;
- The subroutine attempts to import data from an external file that exists, but has 0 bytes.
Is there a way I can create an error handler that returns a different MsgBox for each case?
Blackie