Computer Aided Automation

Full Version: INSERT TABLE IN AUTOCAD WITH VBA MACRO
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I assume you have basic knowledge in VBA,
In this tutorial, we are going to create an AutoCAD VBA macro file which can be used to INSERT a Table and ADD texts in to it (using a UserForm)

Step 1 :  Create a new VBA project by clicking  Alt + F11
Step 2 : Insert a Module and a UserForm

Prepare the UserForm as like below image

[attachment=3]

And paste below codes 
Code 1 : For the UserForm element [[attachment=4]]
Code 2 : For the Module [[attachment=5]]