Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INSERT TABLE IN AUTOCAD WITH VBA MACRO
#1
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

   

And paste below codes 
Code 1 : For the UserForm element [
.txt   code 1.txt (Size: 472 bytes / Downloads: 2) ]
Code 2 : For the Module [
.txt   code2.txt (Size: 5.86 KB / Downloads: 2) ]
Reply
#1
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

   

And paste below codes 
Code 1 : For the UserForm element [
.txt   code 1.txt (Size: 472 bytes / Downloads: 2) ]
Code 2 : For the Module [
.txt   code2.txt (Size: 5.86 KB / Downloads: 2) ]
Reply
CAA


Forum Jump:


Users browsing this thread: 1 Guest(s)