G
Guest
How do I get XL/VB to return a dialogue box with an specific error-message
(defined by me) when the macro stops for a specific reason.
Example:
If the macro halts on
Sheets("Sheet1").Name = Sheets("Sheet1").Range("c4")
I want a dialouge box to appear with the text: " This name is already in
the database"
I am not an experienced programmer, so I would appreciate an explanation
"for dummies"
Thanks
(defined by me) when the macro stops for a specific reason.
Example:
If the macro halts on
Sheets("Sheet1").Name = Sheets("Sheet1").Range("c4")
I want a dialouge box to appear with the text: " This name is already in
the database"
I am not an experienced programmer, so I would appreciate an explanation
"for dummies"

Thanks