Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bony Pony
 
Posts: n/a
Default

Hi Bernie,
Thank you very much.

Have a good day!

Robert
-----Original Message-----
Bony,

You need to use a macro:

Sub CloseWithoutAlert()
Application.DisplayAlerts = False
ActiveWorkbook.Close
Application.DisplayAlerts = True
End Sub

HTH,
Bernie
MS Excel MVP

"Bony Pony" wrote

in message
...
message when I haven't made any! I know I can open it
read-only but I was wondering if there is a way to

switch
the alert off.

I have tried application.displayalerts = false but that
doesn't do it.

Any ideas anyone?
Thanks in advance!

Bony Pony



.

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
How do I unhide columns after clicking save? LeaCan Excel Worksheet Functions 1 January 29th 05 12:01 AM
save as html writenick Excel Discussion (Misc queries) 0 January 13th 05 05:25 PM
Excel 2002 crashing during "Save As" action. Andy T Excel Discussion (Misc queries) 1 January 4th 05 11:34 PM
Save & Save As features in file menu of Excel Blue Excel Discussion (Misc queries) 9 December 27th 04 08:49 PM
Missing "Save" and "Save As" functions EMSchon Excel Discussion (Misc queries) 2 December 27th 04 08:01 PM


All times are GMT +1. The time now is 09:27 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"