If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > overwrite prompt.. how do I stop it?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-05, 14:59
Krista327 Krista327 is offline
Registered User
 
Join Date: May 2005
Posts: 89
overwrite prompt.. how do I stop it?

Does anyone know how to stop the verification message "a file named morning report data.xls already exists in this location. Do you want to replace it?"?

My code is as follows:
ActiveWorkbook.SaveAs "morning report data.xls", and the answer should always be YES!

By the way, where is everyone? No one has added anything to this site since my last update on 10/28/05!

Thanks,
Krista
Reply With Quote
  #2 (permalink)  
Old 11-02-05, 15:19
Krista327 Krista327 is offline
Registered User
 
Join Date: May 2005
Posts: 89
Nevermind, I just figured it out.

Application.DisplayAlerts = False
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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