using VBA to retrieve values to ComboBox

  • Follow


i am trying to retrieve a range of data (the stock code of different phones) 
from worksheet("Inventory") based on the name of the branches of where the 
phones are stored.

worksheet("Inventory") has branch (Column A) and stock code (Column B)

i have 2 combobox.
combobox1 contains values (name of branches) such as:
1-BS
2-EN
3-HG
4-JE
5-SP
6-TB
7-WS
8-YT

combobox2 will have to retrieve values from the worksheet("Inventory") based 
on the value in combobox1. the values in combobox1 can be found in column 1 
while the values i need for combobox2 can be retrieved from column 2 of 
Inventory. however, i have many values for each branch, for example, i have 
many 1-BS and there are many stock codes linked to 1-BS. how to retrieve all 
the stock code of that particular branch?
0
Reply Utf 3/19/2010 2:21:01 AM


0 Replies
798 Views

(page loaded in 0.027 seconds)


Reply: