Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default 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

" 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting data from excel sheets on different machines ?? Kanhaiya Excel Discussion (Misc queries) 1 September 3rd 07 05:44 AM
How do I format numbers for French-style in Excel v.X for mac? JackOnAMac Excel Discussion (Misc queries) 1 May 14th 06 02:34 AM
Printing - different machines, same excel, printer and driver cmpf Excel Discussion (Misc queries) 0 June 15th 05 08:11 PM
In excel the formula bar behaves differently on different machines vijay Excel Discussion (Misc queries) 0 May 20th 05 06:27 AM
Excel column widths change on different machines Spud Excel Programming 0 April 22nd 04 06:53 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"