Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to remove a sheet
Sheets(2).Delete Excel then comes up with a warning: "The selected sheet(s) will be permananently deleted. To delete the selected sheets, click OK.To cancel the deletion, click Cancel" Can I somehow catch this message end prevent it from appearing? Thanks, Tijmen |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tijmen
Application.DisplayAlerts = False Set to True at end of code or any error code that may exit the code prematurely -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England www.nickhodge.co.uk HIS "Tijmen" wrote in message ... I want to remove a sheet Sheets(2).Delete Excel then comes up with a warning: "The selected sheet(s) will be permananently deleted. To delete the selected sheets, click OK.To cancel the deletion, click Cancel" Can I somehow catch this message end prevent it from appearing? Thanks, Tijmen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to prevent Reviewing Toolbar from appearing constantly? | Excel Discussion (Misc queries) | |||
How Can I Prevent the Reviewing Toolbar from Appearing? | Setting up and Configuration of Excel | |||
How to prevent "Reviewing" toolbar from "automatically" appearing? | Excel Discussion (Misc queries) | |||
How do I prevent incorrect formula results appearing in cell? | Excel Worksheet Functions |