Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
I used to be able to do this in the prior version... not sure how to do it in
my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
Hi Trish,
Once you've input the Find string, click on 'Reading Highlight' and choose 'Highlight All'. -- Cheers macropod [Microsoft MVP - Word] "Trish" wrote in message ... I used to be able to do this in the prior version... not sure how to do it in my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
Hi Trish, Once you've input the Find string, click on 'Reading Highlight' and choose 'Highlight All'. -- Cheers macropod [Microsoft MVP - Word] "Trish" wrote in message ... I used to be able to do this in the prior version... not sure how to do it in my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
Use a macro containing the following code:
Selection.HomeKey wdStory Selection.Find.ClearFormatting With Selection.Find Do While .Execute(FindText:=": [a-z]", Forward:=True, _ MatchWildcards:=True, Wrap:=wdFindContinue, MatchCase:=False) = True Selection.Text = Left(Selection.Text, 3) & UCase(Right(Selection.Text, 1)) Loop End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Trish" wrote in message ... I used to be able to do this in the prior version... not sure how to do it in my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
Use a macro containing the following code:
Selection.HomeKey wdStory Selection.Find.ClearFormatting With Selection.Find Do While .Execute(FindText:=": [a-z]", Forward:=True, _ MatchWildcards:=True, Wrap:=wdFindContinue, MatchCase:=False) = True Selection.Text = Left(Selection.Text, 3) & UCase(Right(Selection.Text, 1)) Loop End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Trish" wrote in message ... I used to be able to do this in the prior version... not sure how to do it in my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
Click "Find in" and then "Main document". Word will "select", all items
found. Pam Trish wrote: I used to be able to do this in the prior version... not sure how to do it in my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. -- Message posted via http://www.officekb.com |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Wild characters in Find and Replace
Click "Find in" and then "Main document". Word will "select", all items found. Pam Trish wrote: I used to be able to do this in the prior version... not sure how to do it in my new version. If I have a doc with a list of items that all have a : after them and the first written character after the two spaces following the colon is a small letter and I want to replace them with a capital letter, how do I do that? In the prior version, I used Find :^$ and then "highlight all" and then used the change case function. In this version, "highlight all" is not an option. Please advise. -- Message posted via http://www.officekb.com |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
find and replace using wildcard characters | New Users | |||
Wild Cards in Find and Replace to put two spaces after periods | Microsoft Word Help | |||
Find multiple characters in one find using MSword find/replace | Microsoft Word Help | |||
how to use wild card with find command 9)? | Microsoft Word Help | |||
Detailed description of Word > Find > wild card syntax | Microsoft Word Help |