Home |
Search |
Today's Posts |
#20
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
fill combobox depending on selection from another combobox | Excel Discussion (Misc queries) | |||
sort/filter combobox | Excel Discussion (Misc queries) | |||
ComboBox list reliant on the entry from a different ComboBox | Excel Programming | |||
Tricky ComboBox / Filter query | Excel Discussion (Misc queries) | |||
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox | Excel Programming |