LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Removing confirmation POP from excel

Hello, I know you said that using the application.DisplayAlerts didn't work
but I tested it and it seems to when deleting a sheet this way.

Application.DisplayAlerts = False
Sheets("SheetName").Delete
Application.DisplayAlerts = True

I'm unsure on any other way to do it, so I apologise if this doesn't help
you out.

"singh" wrote:

Hi All

In one of my macro i have provided code for deleting a particular sheet.
In between a pop up appears asking for confirmation for delete or cancel the
sheet.
Is there any way we can remove this prompt?

I tried Application.DisplayAlerts = False. this thing is not proper for this.

Thanks in Advance/

 
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
A question about the confirmation loveflying_best[_2_] Excel Discussion (Misc queries) 1 October 8th 07 12:42 PM
Confirmation box alex1982[_4_] Excel Programming 6 August 15th 06 02:23 PM
Confirmation ID provided? chevy New Users to Excel 2 April 15th 06 06:22 PM
Getting rid of confirmation boxes DandruffKid New Users to Excel 2 March 28th 05 11:05 AM
Saving an Excel worksheet without getting the confirmation box Mike Excel Programming 1 January 13th 04 04:07 PM


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