Ok, so I have this custom macro I created. When a button is clicked it opens a userform, then opens a second userform, then runs the macro. It used to work, not 100% sure when it stopped, but here's what happens. I click the button, get to userform1, get to userform2, then the code runs, and right at the end of the code I get this error:
Run-time error '-2147417848 (80010108)':
automation error
the object invoked has disconnected from its clients
But the weird thing is when I click debug it highlights the userform2.show line of code. If I then try to open the userform, excel crashes. I don't know why that would cause the error if it seems to run through it seamlessly. Anybody seen this before or know how to fix it?
Bookmarks