Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, what is the macro to delete the Worksheet? Example. I have three worksheets. Sheet1, Sheet2 and Sheet3. I would like to delete the sheet1. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hume, Sheets("Sheet1").Delete
-- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Hume" wrote in message ... Hi, what is the macro to delete the Worksheet? Example. I have three worksheets. Sheet1, Sheet2 and Sheet3. I would like to delete the sheet1. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hume,
Sub DeleteSheet() Application.DisplayAlerts = False Worksheets("Sheet1").Delete Application.DisplayAlerts = True End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Hume" wrote in message ... Hi, what is the macro to delete the Worksheet? Example. I have three worksheets. Sheet1, Sheet2 and Sheet3. I would like to delete the sheet1. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
delete value on worksheet 2 that match values on worksheet 1 | Excel Discussion (Misc queries) | |||
How to delete a duplicate Excel worksheet within that worksheet? | Excel Discussion (Misc queries) | |||
How do you delete a worksheet? | Excel Discussion (Misc queries) | |||
How do I delete one worksheet from a different one? | Excel Discussion (Misc queries) | |||
to delete a worksheet | Excel Programming |