Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default ComboBox Format Problem

Good Evening Group,

My ComboBox1 is filled by the property: Sheet1!A1:A10

The Range("A1:A10") is formatted as numbers. The values in the
range are of the type 1,00 0,75 0,50 etc with comma as decimal sign.
When opening the ComboBox, the values are correctly shown with
the comma decimal. When I click to select a value it is shown with
the dot as decimal sign in the collapsed ComboBox. When I use the
Find Method with the ComboBox text as the lookup value, it will
not work due to comma/dot difference. Hoping for some help in this
matter.

Brgds

CG Rosén





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ComboBox Format Problem

Private Sub Combobox1_Click()
Combobox1.Value = Application.Substitute(Combobox1.Text,".",",")
end Sub

--
Regards,
Tom Ogilvy

"CG Rosén" wrote in message
...
Good Evening Group,

My ComboBox1 is filled by the property: Sheet1!A1:A10

The Range("A1:A10") is formatted as numbers. The values in the
range are of the type 1,00 0,75 0,50 etc with comma as decimal sign.
When opening the ComboBox, the values are correctly shown with
the comma decimal. When I click to select a value it is shown with
the dot as decimal sign in the collapsed ComboBox. When I use the
Find Method with the ComboBox text as the lookup value, it will
not work due to comma/dot difference. Hoping for some help in this
matter.

Brgds

CG Rosén







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
ComboBox problem hoyos Excel Discussion (Misc queries) 4 December 10th 09 11:16 AM
Combobox problem Ian Coates Excel Programming 4 February 21st 04 09:02 AM
Complex Combobox problem . mattis2k[_2_] Excel Programming 1 November 14th 03 11:15 AM
Activation combobox problem. chris[_7_] Excel Programming 1 October 20th 03 06:32 PM
ComboBox Problem Tressa Excel Programming 2 August 27th 03 08:58 PM


All times are GMT +1. The time now is 05:30 AM.

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

About Us

"It's about Microsoft Excel"