Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Export to Excel fails with Maximum cell styles exceeded error



Error occurs when exporting large data to Excel using the pxGenerateFile activity. However, this works when using the MSOGenerateExcelFile activity.

Error Messages

The maximum number of Cell Styles was exceeded. You can define up to 64000 style in a .xlsx Workbook

Steps to Reproduce

Export large data to Excel using the pxGenerateFile activity.

Root Cause

A defect in Pegasystems’ code  or rules.


This feature is implemented in Pega Platform 8.2.5.
Suggest Edit

Published December 9, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us