Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting a worksheet 2

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
GB
Hello,

Do you know how to delete a worksheet without having to click on ok in the dialogue box that pops up?

Thanks,

Chris
 
Code:
Application.DisplayAlerts = False
Worksheets("Sheet3").Delete
Application.DisplayAlerts = True

Chance,

Filmmaker, taken gentleman and crunch day + 22
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top