Computer Aided Automation
INSERT TABLE IN AUTOCAD WITH VBA MACRO - Printable Version

+- Computer Aided Automation (https://computeraidedautomation.com)
+-- Forum: CAA Discussions (https://computeraidedautomation.com/forum-7.html)
+--- Forum: VBA Programming (https://computeraidedautomation.com/forum-1.html)
+---- Forum: AutoCAD VBA (https://computeraidedautomation.com/forum-3.html)
+---- Thread: INSERT TABLE IN AUTOCAD WITH VBA MACRO (/thread-15.html)



INSERT TABLE IN AUTOCAD WITH VBA MACRO - techberth - 23-11-2019

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]]