Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Disable Excel Program Messages

Thanks to MVP's from this site I have code that opens and amends and excel
spreadsheet, however when it makes to cloe it gives me the 'Save Changes'
Yes, No, Cancel' Option ... Is there a method to automate yes and disable
this messagebox ??

Many Thanks again
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disable Excel Program Messages

ActiveWorkbook.Close SaveChanges:=True

--
Regards,
Tom Ogilvy

"Alan" wrote in message
...
Thanks to MVP's from this site I have code that opens and amends and excel
spreadsheet, however when it makes to cloe it gives me the 'Save Changes'
Yes, No, Cancel' Option ... Is there a method to automate yes and disable
this messagebox ??

Many Thanks again



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Disable Excel Program Messages

Tom

Thanks very much ... your assistance is appreciated

"Tom Ogilvy" wrote:

ActiveWorkbook.Close SaveChanges:=True

--
Regards,
Tom Ogilvy

"Alan" wrote in message
...
Thanks to MVP's from this site I have code that opens and amends and excel
spreadsheet, however when it makes to cloe it gives me the 'Save Changes'
Yes, No, Cancel' Option ... Is there a method to automate yes and disable
this messagebox ??

Many Thanks again




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
how do i disable "running virus scan" in excel program when opened Tammy New Users to Excel 1 June 10th 05 08:48 PM
disable warning messages? Ed Ardzinski[_2_] Excel Programming 3 November 1st 04 05:50 PM
Disable program Kalyan Excel Programming 1 May 15th 04 02:44 PM
Disable Protection Messages Cathy Myers Excel Programming 5 July 25th 03 04:31 AM


All times are GMT +1. The time now is 05:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"