Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi folks,
I was wondering if someone could provide a little input... I have an excel application which is set up as follows... An english workbook. A french workbook. A neutral workbook which contains worksheets full of number fields. Both the english and the french workbooks perform the same functionality, and incorporate VBA. They both also open up and link to the neutral workbook. All workbooks were developed on an english machine. Due to issues with the french book thinking that the neutral book contains text values instead of numeric values, I had to code a procedure to parse through the value; check and see if the correct decimal seperator is being used; replace it with the correct one if it is not; and then convert the value to a double. This works fine in 97. However, this application is used by both 97/XP on french machines. A SUM function on the 97 version works fine, and provides the expected result of 0...on an XP machine using the same test case it provides a result of -1282791,9872. Has anybody had an experience similar to this? I've been scouring the posts for something similar. I seem to recall one article mentioned something about the XP system thinking that the new number was a time. Has anyone else had any similar experiences? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I know there are many issues when switching languages and locals as some use the Engish system others the International System besides using the "," instead ".", etc. One thing you can try is adding to your application code to check it and set the right format when activating the workbook. Read: http://support.microsoft.com/default...b;en-us;170550 http://msdn.microsoft.com/library/de...HV05202184.asp http://support.microsoft.com/default...b;en-us;111388 Look in the KB for more information. Hope this helps. Carlos Lozano www.caxonline.net " wrote: Hi folks, I was wondering if someone could provide a little input... I have an excel application which is set up as follows... An english workbook. A french workbook. A neutral workbook which contains worksheets full of number fields. Both the english and the french workbooks perform the same functionality, and incorporate VBA. They both also open up and link to the neutral workbook. All workbooks were developed on an english machine. Due to issues with the french book thinking that the neutral book contains text values instead of numeric values, I had to code a procedure to parse through the value; check and see if the correct decimal seperator is being used; replace it with the correct one if it is not; and then convert the value to a double. This works fine in 97. However, this application is used by both 97/XP on french machines. A SUM function on the 97 version works fine, and provides the expected result of 0...on an XP machine using the same test case it provides a result of -1282791,9872. Has anybody had an experience similar to this? I've been scouring the posts for something similar. I seem to recall one article mentioned something about the XP system thinking that the new number was a time. Has anyone else had any similar experiences? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Getting data from excel sheets on different machines ?? | Excel Discussion (Misc queries) | |||
How do I format numbers for French-style in Excel v.X for mac? | Excel Discussion (Misc queries) | |||
Printing - different machines, same excel, printer and driver | Excel Discussion (Misc queries) | |||
In excel the formula bar behaves differently on different machines | Excel Discussion (Misc queries) | |||
Excel column widths change on different machines | Excel Programming |