Hi again,
Try the following code:
You'll see that the names of the worksheets to be copied are defined as a Constant in the "mvaWorksheetsToCopy" function:
It's important to note that there should be no blank spaces between the separating commas and the sheet names.
The above code will copy the required worksheets to a new workbook, replace formula results in each worksheet with the corresponding calculated values, save the new workbook, close it, and then generate a "Task Completed" message.
Hope this helps - please let me know how you get on.
Regards,
Greg M
Bookmarks