Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 247
Default dont confirm save with yes/no/cancell

i got a macro to save as a workbook. it needs to overright an excisting
one. how do i get it not to ask/say i am about to overight?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default dont confirm save with yes/no/cancell

Try this:

Before your save code:
Application.DisplayAlerts = False

After your save code:
Application.DisplayAlerts = True

HTH,
Paul

"pswanie" wrote in message
...
i got a macro to save as a workbook. it needs to overright an excisting
one. how do i get it not to ask/say i am about to overight?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default dont confirm save with yes/no/cancell

Application.DisplayAlerts = False
Activeworkbook.SaveAs . . .
Application.DisplayAlerts = True

--
Regards,
Tom Ogilvy


"pswanie" wrote:

i got a macro to save as a workbook. it needs to overright an excisting
one. how do i get it not to ask/say i am about to overight?

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
Save file with different name and dont update the links when opened again [email protected] Excel Discussion (Misc queries) 0 January 25th 07 09:09 PM
Save file with different name and dont update the links when opened again [email protected] Excel Discussion (Misc queries) 0 January 25th 07 09:09 PM
Save file with different name and dont update the links when opened again [email protected] Excel Discussion (Misc queries) 0 January 25th 07 09:09 PM
After Save Event - Confirm Steph[_6_] Excel Programming 11 October 27th 05 09:43 PM
how to cancell my own name on excel file ? rapidito78840 Excel Discussion (Misc queries) 2 August 16th 05 02:11 PM


All times are GMT +1. The time now is 11:04 AM.

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"