I need a little advice on the best way to go about creating the following functionality:
Using an on screen keyboard, i want to search for a name in a list of different names.
Once the name has been found i want to render it the screen as text and then be able to click the name and have it trigger an event.
Do i need to use a script to do this? or is a database the best way to achieve it? Is there any way of doing this with an excel file set up? (although i can't see any way of searching an excel file)
A few points in the right direction would be great

I've tried a few things, mainly with strings and string searches but I get the feeling I'm making this harder than it needs to be.
Thanks in advance
Chris