K
kylev96
I have attached a simple database search for excel. What it does is
searches a list of questions and answers in Sheet2 and returns matching
results in a listbox in a userform.
It works fine, however I'd like to change it to do the following:
instead of only being able to searhc the question, I'd like it to
search both the question and the answer, but still only return the
question in listbox 1 and the answer in textbox2.
Here's an example:
If the data is as follows (in Sheet 2, different columns):
Q: Who is playing in the NBA finals?
A: The Detroit Pistons and the San Antonio Spurs.
I'd like search querys entered such as: NBA, NBA Finals, Detroit
Pistons, Spurs, etc. all to return just "Who is playing in the NBA
finals" under search results, upon clicking they will recieve the
answer under "answer". I'm trying to allow cusomters to search for any
topic/phrase, and few FAQ's on them.. May sound confusing, but it's
probably a simple range modification, I just can't figure it
out...thanks and I appreciate it!
+-------------------------------------------------------------------+
|Filename: simple search form.ZIP |
|Download: http://www.excelforum.com/attachment.php?postid=3470 |
+-------------------------------------------------------------------+
searches a list of questions and answers in Sheet2 and returns matching
results in a listbox in a userform.
It works fine, however I'd like to change it to do the following:
instead of only being able to searhc the question, I'd like it to
search both the question and the answer, but still only return the
question in listbox 1 and the answer in textbox2.
Here's an example:
If the data is as follows (in Sheet 2, different columns):
Q: Who is playing in the NBA finals?
A: The Detroit Pistons and the San Antonio Spurs.
I'd like search querys entered such as: NBA, NBA Finals, Detroit
Pistons, Spurs, etc. all to return just "Who is playing in the NBA
finals" under search results, upon clicking they will recieve the
answer under "answer". I'm trying to allow cusomters to search for any
topic/phrase, and few FAQ's on them.. May sound confusing, but it's
probably a simple range modification, I just can't figure it
out...thanks and I appreciate it!
+-------------------------------------------------------------------+
|Filename: simple search form.ZIP |
|Download: http://www.excelforum.com/attachment.php?postid=3470 |
+-------------------------------------------------------------------+