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

Formatting in export to excel using binary excel file

SA-14669

Summary



On exporting the page list to excel, the formats (DATE and integer) are exporting with different formats (DATETIME and decimal) for date and currency fields.


Error Messages



Not Applicable
 

Steps to Reproduce



1. Create an activity with MSOGenerateExcelFile step with an excel template.
2. After downloading the excel sheet, check the date/interger values.



Root Cause



The activity, MSOGenerateExcelFile, does not support the functionality that you are attempting to use. The issue is that the values are stored as text on the clipboard, which causes excel to override any formatting specified in the template.


Resolution



Use viewexceldata activity (instead of  MSOGenerateExcelFile) with HTML stream to get the desired formatting styles in downloaded excel sheet.

Published October 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

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