I have a workbook that generates a report from various user entered parameters. Basically a new workbook is created, saved in a folder, and then closed. Once that action happens though I can't get the workbook to respond to any commands. Below is an example of it.
Everything runs okay until I try to interact with wbHome.Sheets("Sheet1") at the end. I cannot activate it, I cannot activate any of the sheets, change the visibility status of any of the sheets, etc. I can write to it though. If you were to run the same code but omit the new workbook creation/closing then the event fires without issue.
If it runs properly, I should be left with sheet1 copied and open as a new workbook. Any suggestions on what I might be missing?
Code that goes in ThisWorkbook
Code that goes in module
Bookmarks