HasMacro

Workbook.HasMacro property

Indicates if this spreadsheet contains macro/VBA.

public bool HasMacro { get; }

See Also