VERSION Function
Office 2010
Returns an integer that matches the major version of the currently active Microsoft Visio application.
Show:
Returns an integer that matches the major version of the currently active Microsoft Visio application.