PC Review


Reply
Thread Tools Rate Thread

ComboBox Issue

 
 
Duncs
Guest
Posts: n/a
 
      26th Jul 2006
I have a spreadsheet with several ComboBoxes on it. Each combo box
links to the one lookup list, which contains text in the first column,
and a numeric in the second. I've hidden the second column from view
within the combo.

As an example, my first ComboBox has the following values set:

BoundColumn = 2
ColumnCount = 1
LinkedCell = D5
ListFillRange = Lookup!A3:B65536

The idea is as follows - The user selects a text item from the ComboBox
list, which is in Column A of the ListFillRange. The numeric value
that is in Column B of the ListFillRange--hidden from view in the
ComboBox--should be placed in the cell D5. So far, so good.
Everything works fine.

However, when I clse the file and re-open it, the values that were
shown in the ComboBox have changed. What it would appear to be doing
is if, for example, the ComboBox contains the text "Grommit" and Cell
D5 then populates with 25, the number in stock. When I close the file
and reopen it, the ComboBox may have changed to "Dowel" with cell D5
still containing 25.

After investigating the data, it would appear as though the ComboBox is
updating itself with the text that is associated with the first entry
in the ListFillRange, Column B, which is the same as the value stored
in Cell D5, if that makes sense.

The ListFillRange is sorted alphabetically by Column A, and I can't
think of anything to do to correct the problem.

What I want is:
Select an item from the ComboBox
Display the text of the item in the ComboBox
Display the numeric value associated with the text in the cell
next to it
Keep the text and numeric in place when I save the file, close it
and re-open it.

Anyone any ideas?

Regards

Duncs

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combobox Vs Combobox =?Utf-8?B?SiBTdHJlZ2Vy?= Microsoft Excel Programming 2 15th Feb 2005 08:15 PM
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox Minitman Microsoft Excel Programming 3 26th Oct 2004 07:58 PM
Populating combobox from another combobox David Goodall Microsoft Excel Programming 1 12th Sep 2004 03:42 PM
Re: Populate subform datasheet combobox from mainform tab control combobox Sandra Daigle Microsoft Access 0 22nd May 2004 09:16 PM
Control Combobox Linked Cell vs Forms Combobox Linked Cell RamblinWreck Microsoft Excel Misc 2 26th Mar 2004 04:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:28 PM.