I am trying to automate a mail sending process. I want to catch a particular error that is when someone's name in 'To' or 'CC' field is not resolved.
Below is the code snippet -
answer = MsgBox("To continue select YES", vbYesNo)
If answer = vbYes Then