LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Inactivate message boxes

Application.DisplayAlerts = False
'code to delete
Application.DisplayAlerts = True

"fabalicious " wrote in message
...
Hi.

From a macro, I want to delete all worksheets in a workbook that are
empty. With the expression

ActiveSheet.Delete (supposed I activate each sheet one after
another)

this happens. Problem here is that I will be asked whether I really
wanted to delete the sheet through a message box. Is there away to turn
this off?

Thanks

F


---
Message posted from http://www.ExcelForum.com/



 
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 activate and inactivate worksheets? daughteroflight Excel Worksheet Functions 3 August 7th 08 10:10 PM
Error message boxes.... Dermot Excel Discussion (Misc queries) 14 April 28th 06 03:41 PM
Message boxes JaB Excel Discussion (Misc queries) 1 November 10th 05 12:02 PM
Built in message boxes Ben Geldart Excel Discussion (Misc queries) 0 March 14th 05 12:27 PM
Message Boxes. mika.[_2_] Excel Programming 1 November 19th 03 12:17 AM


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