Hi guys, great forum!
I've been using excel for many years but relatively new to VBA.
I have attached a simplified version of my invoicing book which needs some fine tuning.
a) What it does at the moment:
- Sheet 1 (Invoice) - user either enters the part numbers directly into cells C7:C14 to populate corresponding cells D7 to E14, or clicks the search command button on the left which brings up an Input to enter keyword search. The keyword searches via multiple partial keywords separated by spaces (many thanks to whomever created the script!).
- Sheet 2 (ProductList) - obviously contains the data we are searching through.
b) What I would like:
- At the moment the VB script highlights the cells anywhere in the workbook that contain search results (it pages through each subsequent worksheet)
- a blank "" search also produces some result (which ain't good)
- I would like the search result to be populate a popup list (which updates real time if possible as you add keywords into the Input Box)
- Then, I would like to be able to select one of the results amongst the list of results, and have this selection transpose to the appropriate line in Invoice Sheet (Part No, Description, Price).
- I don't need the cells to be highlighted (I've left this in the VBA for now so you can easily view the script that produces results)
Any help would be greatly appreciated, thanks in advance for your time and thoughts.
Eddie
Bookmarks