Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to write a marco in Excel to delete worksheet?


Dear Friends,

Do you know how to write a marco in Excel to delete worksheet
automatically, without prompting me to click OK?

I have tried one by using the command:
Sheets("Sheet2").Delete

but it will ask me to click OK before delete it. It looks not
professional.

Thanks a lot.


--
ko06879
------------------------------------------------------------------------
ko06879's Profile: http://www.excelforum.com/member.php...o&userid=34149
View this thread: http://www.excelforum.com/showthread...hreadid=539188

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
Marco to Delete Worksheets CM4@FL Excel Discussion (Misc queries) 2 February 27th 09 07:26 PM
Using a Macro to Write A Marco Bob Excel Programming 2 August 2nd 04 12:19 PM
A Marco Delete Question [email protected] Excel Programming 1 July 16th 04 08:59 PM
help.. want write a simple marco dickychan Excel Programming 2 April 21st 04 01:43 PM
write marco to put data from sheet to memory Desmond Leung Excel Programming 3 July 30th 03 05:27 AM


All times are GMT +1. The time now is 09:38 AM.

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"