LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Opening the "find all" feature on workbook launch

For my next trick, I'd like to have the "find all" feature pop up as soon as
the workbook opens.
The workbook is to serve as a searchable database of material safety data
sheets, where all chemicals in the plant are listed and linked to the
appropriate MSDS.
For example, when a user opens the workbook, the "find all" box should
appear, they should be able to type in "oil" and get about 30 results because
the search was too broad... but that's the general idea.

I wrote code to find the first instance of a word (below), but it doesn't
completely solve my problem. Thanks so much for the help.

Private Sub Workbook_Open()

Item = InputBox("Tell me what you're looking for")

Cells.Find(What:=Item, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext,
MatchCase:=False _
, SearchFormat:=False).Activate

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
why is the feature "share workbook" unavailable to use Share Workbook Excel Worksheet Functions 0 June 1st 10 07:15 PM
Excel - "Find" Feature ManhattanRebel Excel Discussion (Misc queries) 2 December 8th 07 05:08 PM
How do I find the "Show Pages..." Pivot table feature in 2007? Jonathan Excel Discussion (Misc queries) 1 February 9th 07 08:08 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Can the "Find and Replace" feature be used in Formulas somehow? Tennfour Excel Worksheet Functions 2 February 13th 06 08:49 PM


All times are GMT +1. The time now is 03:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"