ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Supress Confirmation Prompt (https://www.excelbanter.com/excel-programming/395324-supress-confirmation-prompt.html)

PA

Supress Confirmation Prompt
 
I am trying to surpress a Save confirmation prompt in Excel 2002 and have
tried using the line

Application.DisplayAlerts = False

It is not working. Any suggestions will be appreciated.



Jon Peltier

Supress Confirmation Prompt
 
If you want to close the file without saving, you could use this before
closing it:

Workbooks("Test.xls").Saved = True

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"PA" wrote in message
...
I am trying to surpress a Save confirmation prompt in Excel 2002 and have
tried using the line

Application.DisplayAlerts = False

It is not working. Any suggestions will be appreciated.






All times are GMT +1. The time now is 11:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com