Question : Is it possible to create a "Quick Find" button in Excel?  (I need to make searching idiot proof.)

Is it possible to create a "Quick Find" field (maybe using a macro) that would show the results in the Find/Replace box?

The people who will be searching it know nothing about Excel and I need to make the process of searching within one sheet or the entire workbook idiot proof.

I have Excel 2007, but must save this file as 2003 because that is the version the users have.

Thanks.

Answer : Is it possible to create a "Quick Find" button in Excel?  (I need to make searching idiot proof.)

>How do I make the search default to searching the entire workbook instead of just one sheet?
That isn't possible for two reasons. First, that option is not available when using the Find method in VBA (which we use to establish the Find parameters). Second, that option is on the optional part of the Find dialog which means it can only be set when the optional part is visible. Since there is no way to know if the optional part is visible, we can't make it visible if it isn't.

>is it possible to limit the search to one specific column and what would the code be for that?
Yes. All you need to do is select the range before doing the find:

   Application.FindFormat.Clear
   Set Cell = Cells.Find(What:=FindText, LookIn:=xlValues, LookAt:=xlWhole, MatchCase:=False)
   ActiveSheet.[A1:A100].Select
   SendKeys "^f{TAB}{TAB}{UP}{UP}~%i"

>is it possible to create a button that always stays at the top of the screen no matter where you are in the spreadsheet?
Yes. Place the command button at the top of the worksheet and then freeze the pane just below the button.

>I could use some help with either organizing it differently (maybe with one sheet per "Department"...
Now we are getting somewhere...what you need to do is turn on AutoFilter. Select the table and choose the menu command Data->Filter->AutoFilter. Each header will now have a drop down menu. Select what you want to see from each header's menu. Cool, eh? Maybe you don't need this find stuff after all.

Kevin
Random Solutions  
 
programming4us programming4us