MajorVersion Property

Returns the major version of the Microsoft Office Web Components object library. Read-only Long.

Applies to | ChartSpace Object | DataSourceControl Object | PivotTable Object | Spreadsheet Object

See Also | BuildNumber Property | MinorVersion Property | RevisionNumber Property | Version Property


*expression   * Required. An expression that returns one of the objects in the Applies To list.


This example displays the major version of Spreadsheet1.

Msgbox Spreadsheet1.MajorVersion