Message 1 of 6
Run an AutoCad VBA Form from Excel
Not applicable
01-26-2011
10:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a form in AutoCAD VBA that is used to draw a machine part. The user enters some dimensions in the textboxes and then clicks a "Draw" button, executing AutoCAD VBA commands to draw the part. This has been working successfully for a few years now.
The dimensions that the user inputs into the form originate from an Excel spreadsheet used for designing the part. I have received a request to produce a button in Excel that automatically raises that form and pre-populates the textboxes. Is this possible, and if so, does anyone have some sample code that demonstrates how to perform this task from Excel VBA?
Thanks in advance for any information you can provide.
-John