Hello,
I need help with a new portion of a UserForm.
Have a multipage on a userform. Working pages pull data from an access database and populate excel 2007 sheets. I use comboboxes to search for a single value and then in textboxs, display related value. (ie: combobox has zipcodes, and textboxs populate city/state/sales rep name and details. etc)
New page in the multipage works differently, and has me confused.
On Sheet3(Sheet3), i have 3 columns. First colum is product code, 2nd column is product description, 3rd column is product type (C = clothing, B=Book, etc).
Sample data on Sheet3:
ProductCode ProductDescription ProductType
1122 Blue kids running shoes C
1122A Red designer scarf C
1122B Book - Big blue whale B
1234B Book - Those Shoes B
1345A Red Prada purse C
Now, instead of populating a combobox with a primary key value, I want to be able to search (in a textbox, combobox, whatever) for a keyword under ProductDescription, and have my choices decreased as more letters are typed.
In other words, if using a textbox, if I typed "blue", I would see "Blue kids running shoes"; "Book - Big Blue whale".
Typing "red" would return "red designer scarf" and "red prada purse".
Typing "shoes" woudl return "blue kids running shoes" and "Book - Those shoes".
I would then like to select the correct one, and then it populate a textbox with the Product code. For example, if i searched for "blue", and saw "Book - Big blue whale", I could highlight it, as in a combobox dropdown or anything similiar, and a nearby textbox would show that product's ProductCode. In this case, "1122B".
I'm using excel 2007. I've searched this site and google with no luck. Any suggestions or examples would be appreciated.
I think its possible to set up a SQL query to to do this, but since i've already pulled the data into excel, am looking for a way to just query the data on sheet3 as shown above. Thank you!
I need help with a new portion of a UserForm.
Have a multipage on a userform. Working pages pull data from an access database and populate excel 2007 sheets. I use comboboxes to search for a single value and then in textboxs, display related value. (ie: combobox has zipcodes, and textboxs populate city/state/sales rep name and details. etc)
New page in the multipage works differently, and has me confused.
On Sheet3(Sheet3), i have 3 columns. First colum is product code, 2nd column is product description, 3rd column is product type (C = clothing, B=Book, etc).
Sample data on Sheet3:
ProductCode ProductDescription ProductType
1122 Blue kids running shoes C
1122A Red designer scarf C
1122B Book - Big blue whale B
1234B Book - Those Shoes B
1345A Red Prada purse C
Now, instead of populating a combobox with a primary key value, I want to be able to search (in a textbox, combobox, whatever) for a keyword under ProductDescription, and have my choices decreased as more letters are typed.
In other words, if using a textbox, if I typed "blue", I would see "Blue kids running shoes"; "Book - Big Blue whale".
Typing "red" would return "red designer scarf" and "red prada purse".
Typing "shoes" woudl return "blue kids running shoes" and "Book - Those shoes".
I would then like to select the correct one, and then it populate a textbox with the Product code. For example, if i searched for "blue", and saw "Book - Big blue whale", I could highlight it, as in a combobox dropdown or anything similiar, and a nearby textbox would show that product's ProductCode. In this case, "1122B".
I'm using excel 2007. I've searched this site and google with no luck. Any suggestions or examples would be appreciated.
I think its possible to set up a SQL query to to do this, but since i've already pulled the data into excel, am looking for a way to just query the data on sheet3 as shown above. Thank you!
Last edited: