Cells format in Excel 2013, Mr Rao ??

Cells format in Excel 2013, Mr Rao ??

Postby Enrrique Vertiz » Wed Aug 20, 2014 2:23 am

Greetings ...

I have a problem creating an Excel file with Office 2013, I have no problem with previous versions, in all previous cases put the following line:

oSheet: Cells (NFIL, 6): NumberFormat: = "#, ## 0.00"

And I format the cell with "," as thousand separator, with "." as decimal point and 2 decimal digits, but in Office 2013 I do not respect that format and I placed the numbers "without" thousands separator and 3, 4-5 decimal ...

Anyone have any idea how to fix it, thank you very much
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 23.04, MySQL 8.0.X, SQLLIB 1.9m, SQLRDD
Enrrique Vertiz
 
Posts: 514
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru

Re: Cells format in Excel 2013, Mr Rao ??

Postby anserkk » Wed Aug 20, 2014 4:50 am

Please try

Code: Select all  Expand view
oSheet: Cells (NFIL, 6): NumberFormat:      = "#, ## 0.00"
oSheet: Cells (NFIL, 6): NumberFormatLocal: = "#, ## 0.00"


I don't think it is due to the MS Office version. May be the the locale settings on your PC and the thousands separator and the decimal separator.

I haven't tested it personally.

Regards
Anser
User avatar
anserkk
 
Posts: 1329
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Cells format in Excel 2013, Mr Rao ??

Postby Enrrique Vertiz » Wed Aug 20, 2014 5:16 am

Thank you

I check the configuration of the PC, but proves again with your indication.

Thank you very much
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 23.04, MySQL 8.0.X, SQLLIB 1.9m, SQLRDD
Enrrique Vertiz
 
Posts: 514
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru

Re: Cells format in Excel 2013, Mr Rao ??

Postby Gale FORd » Wed Aug 20, 2014 2:14 pm

When I have a question like this.
I record a macro, set the format I want, stop macro recording, then edit the macro and check out what Excel thinks it should be.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Cells format in Excel 2013, Mr Rao ??

Postby Enrrique Vertiz » Wed Aug 20, 2014 6:00 pm

Buena idea Gale, voy a probar, gracias
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23.1026X, Fwh 23.04, MySQL 8.0.X, SQLLIB 1.9m, SQLRDD
Enrrique Vertiz
 
Posts: 514
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 16 guests