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: 16
Default ComboBox List Formatting Issues in European Regions

I have a strange issue with European Regional Language settings.

In Userform_Initialize() I define the list for the ComboBox with this
code:

For j = 12 To 23
ComboBox1.AddItem Format((Worksheets("Worksheet1").Cells(j,
11).Value), "#0.000")
Next j

I get a list that is properly formatted with 3 decimal places in both
English and European language settings.

When I change the value in the ComboBox, it changes the value perfectly
in English and the spreadsheet works great.

But when I change the same value in the ComboBox while in European
Regional Languages, it doesn't recognize the comma decimal seperator if
the value is 1 or greater.

Example:

I pick 0,500 from the list. The spreadsheet will change to 0,500.
I pick 1,500 from the list. The spreadsheet will change to 1 500.
I pick 4,500 from the list. The spreadsheet will change to 4 500.

Does anybody have any solutions or ideas as to why this might be
happening?

 
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
How to set up conditional formatting in Combobox list? DaveHarding Excel Discussion (Misc queries) 4 January 28th 09 04:10 PM
Decimal Formatting in Windows English vs European Formatting Drummer361 Excel Programming 3 August 7th 06 02:48 PM
formatting the list items for ComboBox created using Forms Desmond Excel Discussion (Misc queries) 3 May 4th 06 10:04 AM
ComboBox list reliant on the entry from a different ComboBox ndm berry[_2_] Excel Programming 4 October 4th 05 04:40 PM
ComboBox Issues Darrin Henshaw Excel Programming 1 April 16th 05 01:35 PM


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