Mark F
Well-known Member
- Joined
- Jun 7, 2002
- Messages
- 513
- Office Version
- 365
- Platform
- Windows
Hi,
I have a task which involves creating new books, doing various things with VBA which work fine.
The issue I have is that I then have a number of workbooks open with "Book" at the the beginning of the name. Of course I can manually close them but I am looking for a quicker solution.
Can someone assist with VBA to close all open Workbooks with "Book" at the start of the name, and without asking if the user wants to save these workbooks.
Thanks for any help.
Mark
I have a task which involves creating new books, doing various things with VBA which work fine.
The issue I have is that I then have a number of workbooks open with "Book" at the the beginning of the name. Of course I can manually close them but I am looking for a quicker solution.
Can someone assist with VBA to close all open Workbooks with "Book" at the start of the name, and without asking if the user wants to save these workbooks.
Thanks for any help.
Mark