Skip to content

Using xlsx style to export files, the password protection does not take effect #190

Description

@luokaixi
ws['!protect'] = {
  password: '1234as',
  selectLockedCells: true,
  selectUnlockedCells: true
}
XLSX.utils.book_append_sheet(wb, ws, item.sheetName)
const wbOut = XLSXS.write(wb, {
  bookType: 'xlsx',
  type: 'binary'
})

When I export an Excel file using xlsx style and open it, the password I set does not take effect,Could you please take a look

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions