Get my form into MS Office Access Objects

H

Hathor

I have designed a new form in Access. But when I go to VBA I do not see it
listed in Project Explorer under Microsoft Office Access Objects. I can
open/display the form with doCmd.OpenForm, but that does me no good. I need
to open the form in code view so I can attach code to the controls on the
form.
 
S

Stuart McCall

Hathor said:
I have designed a new form in Access. But when I go to VBA I do not see it
listed in Project Explorer under Microsoft Office Access Objects. I can
open/display the form with doCmd.OpenForm, but that does me no good. I
need
to open the form in code view so I can attach code to the controls on the
form.

Open the form in design view, then select View | Code. Access will create
the form's class module for you (it hasn't got one yet, which is why it
didn't show in Project Explorer).
 

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