#1   Report Post  
Posted to microsoft.public.word.docmanagement
JE JE is offline
external usenet poster
 
Posts: 12
Default Create "Search" button

I have been charged with creating a simple file that holds standard responses
to questions. I have set up a table in Word with this information. Is it
possible to have a "button" at the top of the document that once clicked
executes the "Find" command? The end users are not techologically savvy and
the intent is to make this easy to use and easy to maintain.

Thank you.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Create "Search" button

You can certainly add a toolbar button to open the Find dialog, if your
users are too clueless to use Ctrl+F. In the Tools | Customize dialog
(Commands tab), select the Edit category, scroll down to Find, and drag it
to a toolbar.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"JE" wrote in message
...
I have been charged with creating a simple file that holds standard

responses
to questions. I have set up a table in Word with this information. Is it
possible to have a "button" at the top of the document that once clicked
executes the "Find" command? The end users are not techologically savvy

and
the intent is to make this easy to use and easy to maintain.

Thank you.


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
PJY PJY is offline
external usenet poster
 
Posts: 306
Default Create "Search" button

Yes, you can have a "button" right on your form
Open your control toolbox toolbar, then select "command Button", place this
button where you want it on your form, select the picture you want - or just
use the text Find - then while still in the design mode, click on view code
(this will take you to Visual Basic. Type the code you want or you may use
this one
Private Sub CommandButton1_Click()
Application.Run MacroName:="EditFind"
Selection.Find.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindAsk
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
End Sub

Go back to your form, unclick design mode and then click your find button -
the find and replace command should pop right up

Hope that helped!!


"JE" wrote:

I have been charged with creating a simple file that holds standard responses
to questions. I have set up a table in Word with this information. Is it
possible to have a "button" at the top of the document that once clicked
executes the "Find" command? The end users are not techologically savvy and
the intent is to make this easy to use and easy to maintain.

Thank you.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create "send to mail recipient as attachment" button inside word d crazymfr Microsoft Word Help 11 April 25th 07 09:26 PM
The search "Find Next" with "wildcards" does not function properly Philos Microsoft Word Help 4 September 10th 06 06:43 AM
"find" and "search/replace" modes bettysue Microsoft Word Help 5 June 29th 06 08:15 PM
where is the "drag-to-create-table" button? Stilla Tables 3 June 27th 06 09:11 PM
To be able to jump by style (like "Find Next" in "Search") MickeyVip Microsoft Word Help 2 January 31st 06 10:43 AM


All times are GMT +1. The time now is 04:55 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"