- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using the following code to open a drawing:
Set doc = ThisApplication.Documents.Open(Archive, True)
and this code to close the drawing
ThisApplication.ActiveDocument.Close True
The close command skips the typical user input that is required but for some reason I don't find the option for when the drawing is opened.
The drawing must open in order that it can update the changes that are being made to it by the code (so I can't insert "false" into the open command).
However, because many of the drawings are stored in vault I get the prompt whether or not to check the drawing out.
Is there a way I can automatically select one of the options (attachment) without the user selecting it each time?
ps
I also am using the command
ThisApplication.SilentOperation = True
throughout the code
Solved! Go to Solution.