LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #20   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default filter a combobox

Dave!
I found the solution in your suggested formula:
myPC = Application.Index(myWS.Range("a:a"), Application.Match(myPN,
myWS.Range("b:b"), 0))
myPC refers to cell A10 of course.

Thanks a mille!
Mats

"Dave Peterson" wrote:

Depending on how many fields are used, why not just keep adding them to the
combobox list (but hide them). That's what that code did.

Mats Samson wrote:

OK!
But I think I can use a HLookup formula to get the leftmost cell-value in
the row of the selected CB2-value.
If you have any ideas youテ「ぎ┐re heartily welcome!
Regards
Mats

"Dave Peterson" wrote:

I don't open attachments or workbooks from others.

I thought that the code populated both the product description and product code.



Mats Samson wrote:

Oh yes, it works! If you mean the code discussion, yes perfectly alright!
But the formula doesnテδ「テ「堋ャテ「楪「t, as explained above.
The remaining problem is that I want the product code as well, at the same
time as I choose the product. The product codes you can design so the
connected product comes in blocks, in my case supplier wise. Itテδ「テ「堋ャテ「楪「s simple
database handling, whether itテδ「テ「堋ャテ「楪「s
products, customer or suppliers, you need a unique common denominator.
We created a new problem when extracting a list out of the product db, we
lost touch with the テδ「テ「堋ャテ彿ndex valueテδ「テ「堋ャテつ, the product code. Still, I want the
product code as well, for the other formulas to work correctly. If you need
further explanation, Iテδ「テ「堋ャテ「楪「d better send you my files so you can see what I want
to achieve. In such case, please send me an email address where I can reach
you.
Best regards
Mats



--

Dave Peterson



 
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
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
sort/filter combobox mandy Excel Discussion (Misc queries) 0 December 12th 05 06:08 AM
ComboBox list reliant on the entry from a different ComboBox ndm berry[_2_] Excel Programming 4 October 4th 05 04:40 PM
Tricky ComboBox / Filter query [email protected] Excel Discussion (Misc queries) 0 December 11th 04 10:37 PM
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox Minitman[_4_] Excel Programming 3 October 26th 04 07:58 PM


All times are GMT +1. The time now is 08:47 AM.

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"