Skullmonkey
Computer
- Dec 10, 2001
- 12
How can I suppress the dialog box that warns the user that a worksheet will be permanently deleted? I'm just deleting a temporary worksheet that I used during my code like this:
Code:
Dim Wks as Worksheet
Set Wks = Worksheets.Add( _
After:=Worksheets(Worksheets.Count), _
Type:=xlWorksheet)
'[do work with Wks here]
Wks.delete