Having solved the values issue in my previous thread, I now have a new problem.
Previous thread: https://www.excelforum.com/excel-pro...to-values.html
The code I have used to work as I wished: I was able to CTRL select one or more sheets in the user form at the beginning and these would be copied and split out as separate files. Now, if I multi-select, it only works for the first sheet, after which I get copies of the last tab in the workbook instead of the other sheets I've selected. The subsequent sheets are copied, but when it comes to splitting out, it doesn't happen.
Only this line of code executes correctly on the subsequent sheets:
What do I need to tweak to get it to loop back to the splitting out section for each sheet? I am not able to upload a workbook at the moment as I am at work.![]()
Please Login or Register to view this content.
My code is here:
![]()
Please Login or Register to view this content.
Bookmarks