ActiveWindow.SelectedSheets.Delete
Is there a way to not get the message box on this command. I want to give no user interaction with this command.
Please advise.
Thanks,
Gary Harding
ActiveWindow.SelectedSheets.Delete
Is there a way to not get the message box on this command. I want to give no user interaction with this command.
Please advise.
Thanks,
Gary Harding
![]()
Application.DisplayAlerts=False ActiveWindow.SelectedSheets.Delete Application.DisplayAlerts=True
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Cheers. Forgot about that.
Thanks TMShucks! Good luck in the Premier league this season (I am an Everton supporter).
LoL, I'm too slow today!![]()
Application.DisplayAlerts = False ActiveWindow.SelectedSheets.Delete Application.DisplayAlerts = True
If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.
---Keep on Coding in the Free World---
You're welcome.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks