Thread: Enable Warnings
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tim Williams Tim Williams is offline
external usenet poster
 
Posts: 1,588
Default Enable Warnings

Warnings should be enabled by default - perhaps you're turning them off in
your code?

anyway:

application.displayalerts=true

should work.

Tim

"scott" wrote in message
...
I've got a lot of code running in my workbook and have noticed that when I
exit files after making changes, excel doesn't promt to save.

What's the syntax to enable warnings?