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 > How can I turn of warnings

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-06-06, 09:09
Julita Julita is offline
Registered User
 
Join Date: Nov 2005
Posts: 113
How can I turn of warnings

I need to turn of warning messages when i delete a sheet by code. Somebody knows how?
Reply With Quote
  #2 (permalink)  
Old 06-06-06, 09:18
norie norie is offline
Registered User
 
Join Date: Mar 2006
Posts: 163
Put this before the code that deletes the sheet.
Code:
Application.DisplayAlerts = False
And this after.
Code:
Application.DisplayAlerts = True
Reply With Quote
  #3 (permalink)  
Old 06-06-06, 09:24
Julita Julita is offline
Registered User
 
Join Date: Nov 2005
Posts: 113
Thank you a lot!

Thanks again - you are an angel.
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