Application.Version Property
Visio Automation Reference |
Returns the version of a running Microsoft Office Visio instance. Read-only.
Version Information
Version Added: Visio 2.0
Syntax
expression.Version
expression A variable that represents an Application object.
Return Value
String
Remarks
Use the Version property of the Application object to verify the version of a particular Visio instance. This information is helpful if your program requires a particular version. Both the major and minor version numbers are returned. The string returned by Microsoft Office Visio 2007 is 12.0.
Example
This Microsoft Visual Basic for Applications (VBA) program shows how to print the version of a Visio instance in the Immediate window.
Visual Basic for Applications |
---|
|
See Also