Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JaneFan
in reply to: imajar

Besides referencing to document to call the method as @imajar mentioned, there is some common syntax tricks in VBA that it supports calling a method in either of the ways, take Document.SaveAs as example: 

1.With parenthesis:  Call Document.SaveAs(Param1, Param2)

2. With paraenthesis: Document.SaveAs Param1, Param2

Code example:

Dim oDoc As AssemblyDocument
Set oDoc = ThisApplication.ActiveDocument
oDoc.SaveAs "c:\temp\aa.iam", False




Jane Fan
Inventor QA Engineer