Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrong module is displayed when opening program

Status
Not open for further replies.

jrice174

Civil/Environmental
Nov 8, 2004
129
When I loaded a VBA program in AutoCAD and hit alt-F11 to view the VBAIDE, the userform was shown and I could just hit the run button to run the program. I have since added a class module to the program. Since adding the class module, when I load the program and enter the VBAIDE, the only thing visible is the class module code. I have to view the Project Explorer, select the Forms folder and select the form before I can run the program. How can I get the user form to be "active" so that when I first open the program it is the first thing I see and can run it without going through all of the other steps?
 
Replies continue below

Recommended for you

you might try the vba forum on tek-tips.com (sister to eng-tips.com for computer stuff)

=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor