|
I assume this is a macro you've written. If so, then insert the line
Application.displayalerts=false before the command to delete the worksheet, and Application.displayalerts=true after the command to restore system alerts.
Mike Osborne wrote: Completely off topic. I have a macro that deletes a worksheet as part of its processing. It presents a dialog box to confirm the permanent deletion of the worksheet. How can I set up an automatic reply or prevent that dialog box from showing? When I link the macro to the WorkBook Open event it doesn't present the dialog box or delete the worksheet. Any Excel experts out there who can point me in the right direction? TIAMike --
|
- [DUG-OFFTOPIC]: Excel Macro question Mike Osborne
- Re: [DUG-OFFTOPIC]: Excel Macro question Mason, John
- Re: [DUG-OFFTOPIC]: Excel Macro question Mike Osborne
- Re: [DUG-OFFTOPIC]: Excel Macro question Magnus Rasmussen
- Re: [DUG-OFFTOPIC]: Excel Macro question Magnus Rasmussen
- Re: [DUG-OFFTOPIC]: Excel Macro question Magnus Rasmussen
- Re: [DUG-OFFTOPIC]: Excel Macro question Magnus Rasmussen
- Re: [DUG-OFFTOPIC]: Excel Macro question Magnus Rasmussen
- Re: [DUG-OFFTOPIC]: Excel Macro question Magnus Rasmussen
- Re: [DUG-OFFTOPIC]: Excel Macro question Alex Kouznetsov
