Userform.show '1004 Error'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 

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