Userform.show '1004 Error'

S

Stan

Hello All,

Ok, this is quite a strage question, however I have experienced this problem
and so has a colleague of mine for a different application.

The problem:
Upon clicking a button in order to show my form, I get the '1004'
Application Error.

As of Friday, I had tested it to ensure all was working and it was. Previous
versions of the tool I'm developing work fine with Exactly the same coding.
Hence I'm very confused. The code I've been using to show the form is:

Private Sub CommandButton1_Click()

frmHub.MultiPage1.Value = 0
frmHub.Show

End Sub


Has anyone else experienced this problem or know of bugs/fixes for it?

Thanks

Stan
 
A

Alan

Stan said:
Hello All,

Ok, this is quite a strage question, however I have experienced this
problem and so has a colleague of mine for a different application.

The problem:
Upon clicking a button in order to show my form, I get the '1004'
Application Error.

As of Friday, I had tested it to ensure all was working and it was.
Previous versions of the tool I'm developing work fine with Exactly
the same coding. Hence I'm very confused. The code I've been using to
show the form is:

Private Sub CommandButton1_Click()

frmHub.MultiPage1.Value = 0
frmHub.Show

End Sub


Has anyone else experienced this problem or know of bugs/fixes for it?

Thanks

Stan

Not sure if this will fix it, but I normally only show a userform from
the calling sub.

Any other actions, such as frmHub.MultiPage1.Value = 0 I would
normally put in the activate event code.

HTH,

Alan.
 
Top