Hi, i'm not able to make active a different drawing (VBScript runs in Nanocad 5)
n=ThisDrawing.Application.Documents.Count 'this formula works, collect the number of open documents in this moment
U.Prompt "open documents number: " & n
Dim doc
Set doc = Application.Documents.Item (1) 'This make error
Do you know how i can get a specific open document, to make it active or so? Thanks
1
VBScript cycling over the open drawing with Documents.Item
Started by Flaminio, Mar 31 2023 09:14 PM
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users