共用方式為


Workbook.Excel8CompatibilityMode Property

Gets a value that indicates whether the workbook is in compatibility mode.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
ReadOnly Property Excel8CompatibilityMode As Boolean
bool Excel8CompatibilityMode { get; }

Property Value

Type: System.Boolean
true if the workbook is in compatibility mode; otherwise, false.

Remarks

In compatibility mode, certain functionality is disabled or functions differently. For example, Excel 2007 workbooks in compatibility mode are restricted to the same number of rows and columns that are available in earlier versions of Excel.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace