disable warning messages?
Yep!
Application.DisplayAlerts = False
....your code
Application.DisplayAlerts = True
This will only disable workbook-related dialogs (Save / Discard, etc).
Errordialogs generated because of misprogramming etc require a more
solid error handling. Try googling "error handling syntax vba"
Manual Man
|