Bennie47250
Programmer
Crystal Version 7.0
Exporting to Excel version 5.0 Opening in Excel 2002
I have a report that I’m designing to export to Excel. One of the groupings is by the General Ledger account number, a twelve position number (with no decimals or commas).
I’m showing the groupings on the report. In Crystal, in the preview view, the number looks like 220,145,960,000.00. I’m able to format the number so it looks like 220145960000 by right clicking on the number and applying the appropriate formatting options. However when the report is exported to Excel, it reverts to 220,145,960,000.00. I thought I could overcome this by writing a formula to convert the number to text, and formatting the number to show without decimals or commas. The formula used is
ToText ({GL_Account.Acct#},0 ,"" )
And while this shows correctly in the preview, when it is exported to Excel, I have the same old problem. Is there a workaround for this?
TIA
Bennie
Exporting to Excel version 5.0 Opening in Excel 2002
I have a report that I’m designing to export to Excel. One of the groupings is by the General Ledger account number, a twelve position number (with no decimals or commas).
I’m showing the groupings on the report. In Crystal, in the preview view, the number looks like 220,145,960,000.00. I’m able to format the number so it looks like 220145960000 by right clicking on the number and applying the appropriate formatting options. However when the report is exported to Excel, it reverts to 220,145,960,000.00. I thought I could overcome this by writing a formula to convert the number to text, and formatting the number to show without decimals or commas. The formula used is
ToText ({GL_Account.Acct#},0 ,"" )
And while this shows correctly in the preview, when it is exported to Excel, I have the same old problem. Is there a workaround for this?
TIA
Bennie