Export Excel - Int to decimal (##,##) in Excel

Stimulsoft Reports.Flex discussion
Locked
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Export Excel - Int to decimal (##,##) in Excel

Post by KCRomain »

Hi,

When exporting from Report FX for Flex to Excel, the int values are exported into 'number' type values. But Excel understand 'Number as decimal values'.
There a way to bypas this : put the cell type to Custom with a mask 'n'. But its a long job for big reports.
Is there an other way to do this? Can you fix it ?

Thanks a lot for your quick answer,

Romain - KeepCore (France)
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Export Excel - Int to decimal (##,##) in Excel

Post by Ivan »

Hello,

Please select your textbox, open the TextFormat menu, uncheck the "Use Local Settings" property and set the DecimalDigits property to 0.

Thank you.
Attachments
1261.TextFormatNumber.gif
1261.TextFormatNumber.gif (16.66 KiB) Viewed 3885 times
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Export Excel - Int to decimal (##,##) in Excel

Post by KCRomain »

Hi,

It's work ! Thx for your quick answer.

Is there an internal difference with my approach (custom and n for the mask) ?

Romain - KeepCore (France)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Export Excel - Int to decimal (##,##) in Excel

Post by HighAley »

Hello.
KCRomain wrote:Is there an internal difference with my approach (custom and n for the mask) ?
In both cases the number exports to Excel identically. The difference is only in cell format.

Thank you.
KCRomain
Posts: 23
Joined: Fri Aug 05, 2011 11:34 am
Location: Montpellier

Export Excel - Int to decimal (##,##) in Excel

Post by KCRomain »

Hello,

I (re)open this topic because, with 2011.2.11000, the export excel numbers have ##,## format with your previously method !!??
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Export Excel - Int to decimal (##,##) in Excel

Post by Ivan »

Hello,
KCRomain wrote:I (re)open this topic because, with 2011.2.11000, the export excel numbers have ##,## format with your previously method !!??
We couldn't reproduce this issue.
Can you please send us a sample report template with data, which reproduce the issue, and resulting excel file?

Thank you.
Locked