Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula preventing a report from being exported to Excel

Status
Not open for further replies.

Extrmdressage

Technical User
Sep 24, 2009
12
US
Hi,
I have a formula in Crystal 8.5 that calculates annual salary for our staff. Here is the formula: ({EComp.EmHourlyRate}) * tonumber ({@Hours2}) * tonumber ({@Weeks})
The emhourlyrate field is the staff's hourly rate. Hours2 is Left ({@Hours},2 ) and Weeks is Right ({@Hours},2 )


Unfortunatly, I get the error 'failed to export the report. Error in MS Excel export format dll' when I try to export this to Excel. Does anyone have any suggestions on what I could try to get this to work? I appreciate any feedback. Thank you in advance.
 
Hi,
Have you tried exporting using the 'data only' option for Excel exports?

[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
In the more recent versions of Crystal (Version XI and Version 2008) a page of options comes up when you try to export to Excel. If you are using an older version you might try to export to a *.csv. I think the tonumber() function might be giving you a problem. Try VAL()

Howard Hammerman,
Crystal Training and Crystal Material
On-site classes and one-on-one coaching
Low-cost telephone/email support
FREE independent Crystal newsletter
howard@hammerman.com
800-783-2269
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top