I have a dynamic database on Sheet2 named: ("DATA") with the following:
Col B, Col C, Col D
Item Code, Item, Price
FRU, PEARS, $1.00
FRU, APPLES, $1.10
VEG, SPINACH, $.99
VEG, CARROTS, $1.10
MEA, STEAK, $5.00
FRU, PEACHES, $.99
VEG, CORN, $.99
The named ranges are: Col B ("CODE") Col C ("ITEMS") Col D ("PRICE")
On Sheet1, I have a User Form with 2 combo boxes, (cbo1) lists the Item Codes. I want (cbo2) to only display the items belonging to the code selected from cbo1. Then I want the item that is selected to show it's price in a textbox (txt1)
There will be almost 1700 items in the database. Can someone please provide the code to a VBA NEWBIE? I just bought VBA for Dummies last night, so I at this point I know almost nothing but I can copy and paste well!
Scott
Col B, Col C, Col D
Item Code, Item, Price
FRU, PEARS, $1.00
FRU, APPLES, $1.10
VEG, SPINACH, $.99
VEG, CARROTS, $1.10
MEA, STEAK, $5.00
FRU, PEACHES, $.99
VEG, CORN, $.99
The named ranges are: Col B ("CODE") Col C ("ITEMS") Col D ("PRICE")
On Sheet1, I have a User Form with 2 combo boxes, (cbo1) lists the Item Codes. I want (cbo2) to only display the items belonging to the code selected from cbo1. Then I want the item that is selected to show it's price in a textbox (txt1)
There will be almost 1700 items in the database. Can someone please provide the code to a VBA NEWBIE? I just bought VBA for Dummies last night, so I at this point I know almost nothing but I can copy and paste well!
Scott