Description

Version of installed MS Office(R).

Namespace:  DuoDimension.Databeam
Assembly:  Databeam.Excel (in Databeam.Excel.dll)
Version: 2.1.0.0

Syntax

      
 C#  Visual Basic 
public string Version { get; }
Public ReadOnly Property Version As String

Field Value

9 - MS Office(R) version 2000.

10 - MS Office(R) version XP 2002.

11 - MS Office(R) version 2003.

12 - MS Office(R) version 2007.

Examples

CopyC#
DuoDimension.Databeam.Excel convert = new DuoDimension.Databeam.Excel("*******");
if (convert.Version == 12)
{
    convert.OpenXlsx(xlsxfile);
    convert.XlsxToCsv(1, csvfile);
    ...
}
CopyVB.NET
Dim convert As New DuoDimension.Databeam.Excel("*******")
If convert.Version = 12 Then
    convert.OpenXlsx(xlsxfile)
    convert.XlsxToCsv(1, csvfile)
    ...
End If

See Also