open particular autocad drawing using excel vba

open particular autocad drawing using excel vba

Anonymous
Not applicable
781 Views
1 Reply
Message 1 of 2

open particular autocad drawing using excel vba

Anonymous
Not applicable

How do I open a particular autocad drawing through excel vba? so far I have below:

 

Sub startAcad()

 

Dim Racad As AcadApplication


Set Racad = GetObject("C:\Projects\A3\Completeport.dwg", "Autocad.Application")

Racad.Visible = True

End Sub

0 Likes
782 Views
1 Reply
Reply (1)
Message 2 of 2

Ed__Jobe
Mentor
Mentor

Please see this recent post.

 

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes