Description
Sets or returns whether ExcelWriter should remove macros from the generated workbook or leave them in.
C#
vb.net
Remarks
WhenExcludeMacro
is set to true, buttons associated with macros may produce the error "Data may have been lost." Therefore, when excluding macros, remove all associated buttons from the spreadsheet. ExcelWriter, by default, will include macros in the generated workbook.
Examples
C#
vb.net