Browse By Tags

  • Worksheet Protection

    Running the following code will not protect my worksheet. Am I doing something wrong or is this a bug?

    Dim ms As New MemoryStream()
    Dim wb as new Workbook()

    wb.SetCurrentFormat(WorkbookFormat.Excel2007)
    wb.Worksheets.Add("TEST WORKSHEET")
    wb…