Problems loading user form

S

Stu W

I'm trying to load a user form:

Sub ShowUFMain()
ufMain.Show
End Sub

I get a Microsoft Visual Basic dialog box:
Run-time error '-2147352571 (80020005)':
Type mismatch

This was working earlier. What to do???

Excel 2003 VBA
 
S

Stu W

Problem solved. Even though the ufMain.Show line was identified as the
offending problem, the form was trying to load a value that wasn't there. So
the offending line was really elsewhere in the code.
 

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

Top