Message-ID: <1140444454.10089.1711712531752.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10088_2004190007.1711712531752" ------=_Part_10088_2004190007.1711712531752 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Sets or returns whether the worksheet will allow users to insert hyperli= nks when the worksheet is protected.
=20public boolean AllowInsertHyperlinks{ get; set; }=20
Public Property AllowInsertHyperlinks() As Boolean=20
ExcelApplication xla =3D new ExcelApplication(); Workbook wb =3D xla.Open(@"C:\MySpreadsheet.xlsx"); Worksheet ws =3D wb.Worksheets[0]; ws.SheetProtection.AllowInsertHyperlinks =3D true; ws.Protect("password");=20
Dim xla As New ExcelApplication() Dim wb As Workbook =3D xla.Open("C:\MySpreadsheet.xlsx"= ) Dim ws As Worksheet =3D wb.Worksheets(0) ws.SheetProtection.AllowInsertHyperlinks =3D true ws.Protect("password");=20