Cannot open userform

  • Thread starter Thread starter Sam Kuo
  • Start date Start date
S

Sam Kuo

Hi

I had a subroutine that opens a userform as shown below and it was working
fine:
Sub OpenUserForm ()
UserForm1.Show
End Sub

But after I worked on others codes last night, the subroutine now cannot
open the userform due to:
"Run-time error '-2147024809(80070057)': Could not find the specified object."

I didn't make any change to the userform itself. I also tried debugging the
VB code but couldn't find any other error. What could have caused this and
how do I fix it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top