VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 1
Anonymous
269 Views, 0 Replies

Macro Name

I have a vba program that starts in an active drawing.

 

It copies the active drawing to another location

 

It opens the copied drawing while keeping the initial drawing open

 

I then want to do some stuff in the program on the copied drawing that is now open and active in AutoCAD.

 

However the program stops because at the command prompt it is asking for Macro Name:

 

If I hit the return key at this point the program continues and works as I wish.

 

How can I either stop AutoCAD from asking me for the Macro Name or catch it in the program so I respond with a return key vbCr for example.

 

Thankyou in anticipation

 

Stella Arch MSc

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost