23-11-2019, 12:17 PM
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]]
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]]