Message-ID: <317621782.10045.1711710700112.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10044_923691135.1711710700112" ------=_Part_10044_923691135.1711710700112 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html ExcelTemplate.ExcludeMacros

ExcelTemplate.ExcludeMacros

Description

= =20

Sets whether ExcelWriter should remove template macros from the generate= d spreadsheet or include them.

=20
C#
=20
 public boolean ExcludeMacros{ get; set; }
=20
=20
vb.net
=20
Public Property ExcludeMacros() As Boolean
=20
=20

Remarks

=20

If ExcludeMacros is set to false, and the template spreadshe= et contains macros, ExcelWriter will preserve the macros in the generated s= preadsheet. If ExcludeMacros is set to true, and = the template spreadsheet contains macros, ExcelWriter will not include the = macros in the generated spreadsheet. ExcludeMacros is set to <= code>false by default.

=20

ExcludeMacros is a Read/Write property. =20

Examples

=20
C#
=20

          //--- Setting SetExcludeMacros to "true" tells ExcelWri=
ter to
          //--- to remove macros in the template from the generated
          //--- spreadsheet.
          xlt.ExcludeMacros =3D true;
        
=20
=20
vb.net
=20

          '--- Setting SetExcludeMacros to "True" tells ExcelWrit=
er to
          '--- to remove macros in the template from the generated
          '--- spreadsheet.
          xlt.ExcludeMacros =3D True
        
=20
------=_Part_10044_923691135.1711710700112--