Back to Devexpress

Workbook.HasMacros Property

officefileapi-devexpress-dot-spreadsheet-dot-workbook-071a3ce4.md

latest1.4 KB
Original Source

Workbook.HasMacros Property

Determines whether the workbook has VBA projects (macros).

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this property in production code.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public bool HasMacros { get; }
vb
Public ReadOnly Property HasMacros As Boolean

Property Value

TypeDescription
Boolean

true , if a workbook has macros; otherwise, false.

|

Implements

HasMacros

See Also

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace