WorkbookSettings.EnableMacros

WorkbookSettings.EnableMacros property

Enable macros;

public bool EnableMacros { get; set; }

Remarks

Now it only works when copying a worksheet to other worksheet in a workbook.

See Also