Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm sure you're right, Tom ... my memory's not what it used to be!
Regards, Vasant "Tom Ogilvy" wrote in message ... Hello Vasant, Believe you are thinking of overwriting a file. Application.displayAlerts = False thisworkbook.SaveAs Filename:="C:\MyFolder\MyExistingFilename.xls" Application.DisplayAlerts = True In xl2003 help, at least, they point this exception out. -- Regards, Tom Ogilvy "Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message ... Hi Tom: I'm probably wrong <g, but I seem to remember that this is the one case in which Excel does not perform the default action (despite what Help says). Regards, Vasant "Tom Ogilvy" wrote in message ... Just a heads up for consideration: I didn't test this particular case, but help says displayalerts = false pursues the default action of the dialog. Using displayalerts would suppress the prompt, but the default action would be taken and that is to save the file. -- Regards, Tom Ogilvy "Darrin Henshaw" wrote in message ... Set Application.DisplayAlerts to False, to not show the save changes dialog box. However, that will stop Excel from prompting it, but still give the user the ability to save it. You might want to look at the BeforeSave event, to try to stop them from saving. *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
File closes without prompting to save | Excel Discussion (Misc queries) | |||
calculation - prompting to save when file closes | Excel Discussion (Misc queries) | |||
File close excel does not ask me to save changes | Excel Discussion (Misc queries) | |||
Save CSV File without prompting | Excel Programming | |||
Save file without prompting | Excel Programming |