Hi Maria,
I don't think that's possible to do with Find/Replace, since
there's no way to refer, in that dialog, to the text that's
selected in the document.
But I craved the same capability, came up with the macro below
to do it, and assigned it to a keyboard shortcut, so now I can
quote whatever's selected with one keystroke.
The macro quotes whatever's selected (shrinking it first if it
ends in a space so you don't have to do that yourself). Or if
nothing's selected, it quotes the preceding word.
See also:
http://www.mvps.org/word/FAQs/MacrosVBA/CreateAMacro.htm
for how to use macros offered in newsgroup postings
and
http://www.mvps.org/word/FAQs/MacrosVBA/AssignMacroToHotkey.htm
for how to assign a macro to a hotkey
Here's the macro:
Sub QuoteSelectionOrPrecedingWord()
If Documents.Count = 0 Then Exit Sub
If Selection.End - Selection.Start = 0 Then
With Selection
.Collapse wdCollapseEnd
Do Until .Characters.first.Previous.Text <> " "
.MoveLeft wdCharacter, 1
Loop
.InsertAfter Chr$(148)
.MoveLeft wdWord, 2
.InsertAfter Chr$(147)
.MoveRight wdCharacter, 1
.MoveRight wdWord, 1
.MoveRight wdWord, 1
End With
Else
With Selection
.InsertBefore Chr$(147)
If .Characters.Last.Text = " " Then _
.MoveEnd wdCharacter, -1
.InsertAfter Chr$(148)
.Collapse wdCollapseEnd
End With
End If
End Sub
This inserts 'curly quotes'; if you want the plain vanilla
quotes, substitute 34 for the 147 and 148 above.