Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default How to avoid delete confirmation

Hi.

I got a macro on workbook1 that deletes a sheet on workbook2. But when I
execute it, it shows a warning asking for confirmation. How can I avoid this
warning and getting the sheet deleted?

Any kinda help will be greatly appreciated

Jepane
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default How to avoid delete confirmation

Applicartion.displayAlerts = False
'Delete your sheet
Application.DisplayAlerts = True
--
HTH...

Jim Thomlinson


"Jens Palacios Neffke" wrote:

Hi.

I got a macro on workbook1 that deletes a sheet on workbook2. But when I
execute it, it shows a warning asking for confirmation. How can I avoid this
warning and getting the sheet deleted?

Any kinda help will be greatly appreciated

Jepane

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
No need of save change confirmation at closing book Shariq Excel Discussion (Misc queries) 3 January 10th 07 09:26 PM
Secret Code for Confirmation Dinesh Excel Worksheet Functions 3 August 10th 06 01:41 AM
Hiding, or automatically answering, a confirmation msgbox Brian Beck Excel Discussion (Misc queries) 1 July 28th 06 04:11 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


All times are GMT +1. The time now is 10:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"