Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
forgot to include the
Application.DisplayAlerts = False .... Application.DisplayAlerts = True part On 3 Lis, 10:10, Jarek Kujawa wrote: Sub delsheets() Dim sh as Sheet For Each sh in ActiveWorkbook.Sheets If sh.Name<"Sheet1" Then sh.Delete End If Next sh End Sub On 3 Lis, 09:46, Ms-Exl-Learner wrote: Please help to delete all the sheets in a workbook except the First sheet (i.e.) Sheet1. Thanks for reading. -------------------- (Ms-Exl-Learner) --------------------- Ukryj cytowany tekst - - Pokaż cytowany tekst - |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Form Code Required | New Users to Excel | |||
Another VB Code Required | Excel Discussion (Misc queries) | |||
VB Code Required | Excel Discussion (Misc queries) | |||
code is not to work on sheet1 | New Users to Excel | |||
How do I set up a workbook so changing Sheet1 changes all sheets? | Excel Worksheet Functions |