LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default ComboBox Decimal Errors

Hi,

I am using the English version of Excel on Windows XP, and the project
I am working on is used in the United States and Europe.

I have a properly-working English version, but when I change my
Regional and Language settings from the Control Panel in Windows from
English (United States) to German (German) or any other European
Language, I have a problem with the decimal formatting in ComboBoxes.

I format the selected value in the ComboBoxes with this code:

comboBox1.Text = FormatNumber((Worksheets("Worksheet1").Cells(13,
5).Value), 3)


In German regional language settings, if I select anything greater than
0,999 from the list, it will eliminate the decimal seperator. For
example:


Select 0,999 from the list, it will show 0,999 in the comboBox after I
leave focus...

I select 1,000 from the list, and it will show 1000 after I leave
focus...


This problem also stores "1000" in the worksheet as well!

Best Regards,
Tyler

 
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
Addition errors with Decimal Places Kevin M[_3_] Excel Worksheet Functions 5 November 6th 09 06:10 AM
Decimal rounding causing addition errors TKGerdie Excel Discussion (Misc queries) 2 April 16th 09 03:51 PM
Combobox changes the decimal commas to dots - How to prevent it? Erkka Excel Discussion (Misc queries) 2 February 23rd 07 08:20 AM
Decimal Number Format in ComboBox Drummer361 Excel Programming 3 August 6th 06 10:21 PM
How to create ComboBox with 3 decimal places, Please Help! pmind Excel Programming 7 March 23rd 06 01:55 PM


All times are GMT +1. The time now is 09:48 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"