Trying to create a macro that will find the selected text. So how do I
select text & then run a macro that will find the next 'selected' text? TIA

--
____________________________________
In Christ's matchless name
ted & colleen
n6trf kc6rue

Re: find selected text by Suzanne

Suzanne
Mon Jan 21 10:55:30 PST 2008

See http://word.mvps.org/FAQs/MacrosVBA/ModifyRecordedMacro.htm

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"n6trf" <n6trf@arrl.net> wrote in message
news:O7ki7FFXIHA.484@TK2MSFTNGP06.phx.gbl...
> Trying to create a macro that will find the selected text. So how do I
> select text & then run a macro that will find the next 'selected' text?
> TIA
>
> --
> ____________________________________
> In Christ's matchless name
> ted & colleen
> n6trf kc6rue
>
>



Re: find selected text by n6trf

n6trf
Mon Jan 21 15:24:16 PST 2008

I know how to edit save ... . What I need is what do I use in place of .text
"something" where something is the selected word ... in the document.



Re: find selected text by Suzanne

Suzanne
Mon Jan 21 16:12:35 PST 2008

Did you read the referenced article?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"n6trf" <n6trf@arrl.net> wrote in message
news:%23knf%23SIXIHA.4684@TK2MSFTNGP06.phx.gbl...
>I know how to edit save ... . What I need is what do I use in place of
>.text "something" where something is the selected word ... in the document.
>
>
>



Re: find selected text by n6trf

n6trf
Mon Jan 21 21:45:57 PST 2008

Read a lot of what i already knew & did a search for my specific problem but
no banana :-(.

"Suzanne S. Barnhill" <sbarnhill@mvps.org> wrote in message
news:%23%23dv5uIXIHA.5340@TK2MSFTNGP06.phx.gbl...
> Did you read the referenced article?
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
>
> "n6trf" <n6trf@arrl.net> wrote in message
> news:%23knf%23SIXIHA.4684@TK2MSFTNGP06.phx.gbl...
>>I know how to edit save ... . What I need is what do I use in place of
>>.text "something" where something is the selected word ... in the
>>document.
>>
>>
>>
>
>



Re: find selected text by Graham

Graham
Tue Jan 22 00:18:57 PST 2008

You can record a macro that uses the find/replace function, but what do you
want to do with the text that you have found.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

n6trf wrote:
> Read a lot of what i already knew & did a search for my specific
> problem but no banana :-(.
>
> "Suzanne S. Barnhill" <sbarnhill@mvps.org> wrote in message
> news:%23%23dv5uIXIHA.5340@TK2MSFTNGP06.phx.gbl...
>> Did you read the referenced article?
>>
>> --
>> Suzanne S. Barnhill
>> Microsoft MVP (Word)
>> Words into Type
>> Fairhope, Alabama USA
>>
>> "n6trf" <n6trf@arrl.net> wrote in message
>> news:%23knf%23SIXIHA.4684@TK2MSFTNGP06.phx.gbl...
>>> I know how to edit save ... . What I need is what do I use in place
>>> of .text "something" where something is the selected word ... in the
>>> document.



Re: find selected text by Herb

Herb
Tue Jan 22 13:47:44 PST 2008

Use selection()

For example:

With Selection.Find
.Text = Selection()
End With
Selection.Find.Execute


--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com
"n6trf" <n6trf@arrl.net> wrote in message
news:%23knf%23SIXIHA.4684@TK2MSFTNGP06.phx.gbl...
>I know how to edit save ... . What I need is what do I use in place of
>.text "something" where something is the selected word ... in the document.
>
>


Re: find selected text by n6trf

n6trf
Tue Jan 22 21:30:44 PST 2008

Yes I know about recording a macro. When I'm planning on doing is seeing if
there are two occasions of that selected text in the document and then
selecting another text and repeat that etc.



Re: find selected text by n6trf

n6trf
Wed Jan 23 12:12:23 PST 2008

Ok that's what I was looking for. Seems like there should be a reference
manual or tutorial manual for vba in word someplace.