removing message boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a macro for OnNotInList which includes my own messagebox.
However, the standard message box still appears after mine; how do I remove
it?
 
Aileen Hewat said:
I have created a macro for OnNotInList which includes my own messagebox.
However, the standard message box still appears after mine; how do I remove
it?

Have you already tried the SetWarnings command?
 
I have created a macro for OnNotInList which includes my own messagebox.
However, the standard message box still appears after mine; how do I remove
it?

Code is easier.
Use:
Response = acDataErrContinue

If MsgBox("Your message here.",vbYesNo) = vbNo Then
Response = acDataErrContinue
End If
 
Tim, I worked it out and used it but it had no effect - perhaps because it is
an error message - "The text is not in the list. Choose from the list"?
 
Aileen, sorry that the SetWarnings didn't work.

In this case, and after testing a little myself, I'm going to have to agree
with Fred on this one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top