+ Reply to Thread
Results 1 to 2 of 2

Excel 97/XP Issue with numbers and French machines

  1. #1

    Excel 97/XP Issue with numbers and French machines

    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. #2
    Carlos Lozano
    Guest

    RE: Excel 97/XP Issue with numbers and French machines

    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

    "[email protected]" 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1