Hi there,
I don't think it's possible to save individual sheets of a workbook, but what you CAN do is to create a new workbook containing only the sheets you need & then save that workbook.
To do this, replace your code:
with
and insert the following subroutine in your VBA module:
Note that the statement:
contains the names of the sheets you want to include in the new workbook.
The routine works by creating a new workbook, deleting all of its worksheets except one (a workbook must contain at least one worksheet) & then renaming that worksheet with a unique "rubbish" name (just to avoid any conflict with the sheetnames in your source workbook.)
The routine then copies the specified worksheets (in the specified order) from the source workbook to the new workbook, and then deletes the worksheet with the "rubbish" name.
Finally, the new workbook is saved using your existing naming convention & is then closed.
Hope this helps - please let me know how you get on.
Best regards,
Greg M
Bookmarks