UserForm.Show error
Maybe...
Private Sub cmdNext_Click()
' Do some stuff with the info on the form
me.hide
UserForm3.Show
Unload Me
End Sub
Make sure you didn't use UserForm3 as any other variable name, too.
Horatio J. Bilge, Jr. wrote:
I have a series of userforms set up so when I click on the "Next" button on
one, it closes, and the next userform opens. While I was tweaking some of the
code, the userform.show command stopped working. When I click on "Next" I get
Run-Time Error 438: Object doesn't support this property or method. When I
click on debug, the line UserForm3.Show is highlighted.
Here is my code:
Private Sub cmdNext_Click()
' Do some stuff with the info on the form
Unload Me
UserForm3.Show
End Sub
--
Dave Peterson
|