opening a second drawing
Posted: Fri Jul 05, 2002 12:05 pm
I am having difficulty opening a second drawing from within VBA. I have successfuly performed a SAVEAS on the first drawing and need to open a different template drawing. the command line I have been trying is:
Application.Documents.Open "C:\My Documents\Materials\auto second.dwg"
This does open the drawing but creates the following error message:
Run-Time error '5':
invalid procedure call or argument
I have tried "on error resume next", but nothing seems to work.
Thanks for your help.
Application.Documents.Open "C:\My Documents\Materials\auto second.dwg"
This does open the drawing but creates the following error message:
Run-Time error '5':
invalid procedure call or argument
I have tried "on error resume next", but nothing seems to work.
Thanks for your help.