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 > Disallowing windows messages in excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-11-04, 09:04
orionrafal orionrafal is offline
Registered User
 
Join Date: Feb 2004
Posts: 4
Question Disallowing windows messages in excel

Hi all,
I have a small macro in one workbook that open another workbook in memory :

dim xls as workbook
set xls = application.excel
xls.open "c:\..."

everything works fine, but on the opened workbook in memory I am deleting some sheets and saving at the end and I would like to get rid of the windows alerts asking if I'm sure I want to delete the sheets and saving


I tried :
application.displayAlerts = false
xls.displayalerts = false

but It's keeps showing me the alert ...

any suggestions would be appreciated

Last edited by orionrafal; 03-15-04 at 11:05.
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