共用方式為


VERSION Function

Returns an integer that matches the major version of the currently active Microsoft Visio application.

Version Information

Version Added: Visio 2010

Syntax

VERSION()

Return Value

Integer

Remarks

You can use the VERSION function to write ShapeSheet formulas that are evaluated differently depending on the version of Visio in which they are evaluated.