How to write/update data into cells of existing XLSX workbook using xlsxwriter in python

Quote from xlsxwriter module documentation:

This module cannot be used to modify or write to an existing Excel
XLSX file.

If you want to modify existing xlsx workbook, consider using openpyxl module.

See also:

  • Modify an existing Excel file using Openpyxl in Python
  • Use openpyxl to edit a Excel2007 file (.xlsx) without changing its own styles?

Leave a Comment