S
Stephen
Hi All,
I have the following VB code for deleting a couple of sheets.
Sub DeleteSheets()
Application.DisplayAlerts = False
Sheets(Array(("Sheet1","Sheet2","Sheet3",)).Delete
Application.DisplayAlerts = True
End Sub
My problem is that when for example Sheets2 does not exist then it run
into an error. How can I get the code to carry on with deleting th
other Sheets?
Stephe
I have the following VB code for deleting a couple of sheets.
Sub DeleteSheets()
Application.DisplayAlerts = False
Sheets(Array(("Sheet1","Sheet2","Sheet3",)).Delete
Application.DisplayAlerts = True
End Sub
My problem is that when for example Sheets2 does not exist then it run
into an error. How can I get the code to carry on with deleting th
other Sheets?
Stephe