How to solve this problem? No VB file is listed anymore.

ariansman

Registered User.
Local time
Today, 12:41
Joined
Apr 3, 2012
Messages
157
I’m using Microsoft office 2013. I create a new access file: MYFILE. A new table, TABLE1. Then I make a form over that: FORM1. Then I go to DATABASE TOOLS and then click “visual basic” to see the list of projects. But there is nothing there. I mean the names of forms are not even listed on the left pane.
i have attached a picture of what i see.
What can I do for this please?
 

Attachments

  • vb_problem.jpg
    vb_problem.jpg
    56.4 KB · Views: 83
I don't know MS-Access 2013, but if it is like all other versions then you need to add code to a form before it appearer in the VBA code window!
 
normally the forms are listed in left pane where i can choose and then write a code.
 
Okay, but not in the versions I know.
Open a form in design view, set ex. "on current" to "Event Procedure", then click the 3 "..." to the right.
attachment.php
 

Attachments

  • Eventpr.jpg
    Eventpr.jpg
    16.8 KB · Views: 121
You can also make the form module appear by setting the HasModule Property to Yes.

BTW. That property is what needs to be changed if you want to delete a form's module.
 

Users who are viewing this thread

Back
Top Bottom