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

Worksheet.Name

Description

Sets or returns the name of the worksheet. Sheet names are limited t= o 255 characters and must not contain the following characters: \ / ? [ ] := '=20
C#
=20
public System.String Name{ get; set; }
=20
=20
vb.net
=20
Public Property Name() As String
=20
=20

Remarks

If you change a worksheet's = name, any formulas that reference that worksheet will also be updated to us= e the new name. For example, if you have a formula "=3DSheet1!A1"= , and you change Sheet1's name to "NewName", the formula will be = updated to "=3DNewName!A1". If the formula did not reference a sh= eet name before the name change, it will not be affected.=20

Examples

=20
C#
=20
          //--- Get SheetName
          string sheetName =3D ws.Name;

          //--- Set SheetName
          ws.Name =3D "SheetOne";
        
=20
vb.net
=20
          '--- Get SheetName
          Dim sheetName As String =3D ws.Name

          '--- Set SheetName
          ws.Name =3D "SheetOne"
        
=20
------=_Part_9646_978119801.1711697700524--