Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
| Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 19th, 2006, 10:40 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disabling the "delete message"

I would like to disable this default message. Does anyone know how to do it?


"Data may exist in the sheet(s) selected for deletion. To permently delete the data, press Delete "

 
Old October 19th, 2006, 08:42 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Before you delete the sheets, cancel all alerts. You can reset it later

e.g.

Application.DisplayAlerts = False
Sheets(1).Delete
Application.DisplayAlerts = True

http://www.vbadud.blogspot.com




Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete file System.IO.Delete error maricar C# 13 March 14th, 2014 06:50 AM
DISABLING CTRL-ALT-DELETE harsh_hot Javascript How-To 19 March 23rd, 2006 06:41 AM
DISABLING CTRL-ALT-DELETE harsh_hot Other Programming Languages 0 February 6th, 2006 06:42 AM
Confirmation message on delete of Data grid item hardik@saltriver.com VS.NET 2002/2003 1 December 22nd, 2004 02:27 AM
How to delete a specified message in MSMQ? scorpion Pro VB 6 0 September 15th, 2003 10:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.