turning off unwanted warnings

G

Guest

Occasionally I get messages/warnings during VBA/macro execution. E.g. a message that I have left a large amount of data asking if I want to save this data for other programs. These messages/warnings interrupt the VBA until I respond to them. Is there a way to turn off these types of messages
 
P

Peter Atherton

-----Original Message-----
Occasionally I get messages/warnings during VBA/macro
execution. E.g. a message that I have left a large amount
of data asking if I want to save this data for other
programs. These messages/warnings interrupt the VBA until
I respond to them. Is there a way to turn off these types
of messages?

Roland

Try

Application.displayAlerts = False
and On error resume next

Regards
Peter
 

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

Top