MrKowz
Well-known Member
- Joined
- Jun 30, 2008
- Messages
- 6,653
- Office Version
- 365
- 2016
- Platform
- Windows
I am writing a VBA macro right now that opens and closes multiple workbooks and worksheets. Is there any command I can put into my macro that will automatically tell Excel it is OK to delete this worksheet and to not save the workbook I am trying to close?
Basically, I have:
Windows("Filename<WORKBOOKNAME>").Activate
ActiveWindow.Close
and I want to bypass the confirmation box that comes up.
Any ideas would be much appreciated.
Basically, I have:
Windows("Filename<WORKBOOKNAME>").Activate
ActiveWindow.Close
and I want to bypass the confirmation box that comes up.
Any ideas would be much appreciated.