![]() |
#2
|
|||
|
|||
![]()
add this line:
Code:
ThisWorkbook.Sheets.Add After:=Sheets(Sheets.Count) Code:
Worksheets.Add().Name = "MySheet" Code:
Worksheets.Add After:=Worksheets(Worksheets.Count), Count:=4 Sheets("Sheet1").delete or: ActiveSheet.delete Make sure to turn off events if you do not want to see the confirmation pop-up message: (change back to true after you delete the sheet) Code:
Application.DisplayAlerts = False |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Delete option greyed out when trying to delete row 1 | tpcervelo | Excel | 2 | 11-15-2011 06:48 AM |
![]() |
rec | Excel | 6 | 05-20-2011 08:51 PM |
delete email message via blackberry and have it delete on my pop3 and my outlook | Iamthestorm | Outlook | 2 | 10-28-2010 12:21 AM |
![]() |
nolesca | Excel | 3 | 06-07-2010 04:02 PM |
![]() |
markg2 | Excel | 4 | 01-07-2010 10:08 AM |