Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
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 |
#2
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
See http://word.mvps.org/FAQs/MacrosVBA/...ordedMacro.htm
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "n6trf" wrote in message ... 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 |
#3
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
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. |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
Did you read the referenced article?
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "n6trf" wrote in message ... 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. |
#5
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
Read a lot of what i already knew & did a search for my specific problem but
no banana :-(. "Suzanne S. Barnhill" wrote in message ... Did you read the referenced article? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "n6trf" wrote in message ... 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. |
#6
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
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" wrote in message ... Did you read the referenced article? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "n6trf" wrote in message ... 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. |
#7
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
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" wrote in message ... 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. |
#8
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
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. |
#9
Posted to microsoft.public.word.newusers
|
|||
|
|||
find selected text
Ok that's what I was looking for. Seems like there should be a reference
manual or tutorial manual for vba in word someplace. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I limit 'find and replace' to the selected text? . | Microsoft Word Help | |||
Selected Style gets updated from selected text | Page Layout | |||
Show selected Find/Next text fully in window vs. only beginning | New Users | |||
Replace command in Word doesn't find word or text selected. | Microsoft Word Help | |||
Can I find and delete quote marks in only a selected style | Microsoft Word Help |