Message-ID: <1473329272.10025.1711709612010.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10024_1943389785.1711709612010" ------=_Part_10024_1943389785.1711709612010 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 spreadsh= eet contains macros, ExcelWriter will preserve the macros in the generated = spreadsheet. 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 = 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_10024_1943389785.1711709612010--