How to select the words before a special charater all at once.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a movie scripts that i would like to have all the names bolded. The
names are all line up on the left before a ":". I am trying to bold all these
names. Since these names are different words, how Word can get this task
done? I tried wild cards using <"*:"> but was unsscussuful. I always tried
VBA using unit select statement, also have no luck. Could anyone share some
light on this?
 
It depends a little on exactly how you have your document formatted.

But a good candidate for a wildcard find string would be "<[!^13:]{1,}:" -
left angle bracket, left square bracket, exclamation mark, caret, one,
three, colon, right square bracket, left brace, one, comma, right brace,
colon
 
Replace with ^& format Bold
See also http://www.gmayor.com/replace_using_wildcards.htm

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Tony said:
It depends a little on exactly how you have your document formatted.

But a good candidate for a wildcard find string would be
"<[!^13:]{1,}:" - left angle bracket, left square bracket,
exclamation mark, caret, one, three, colon, right square bracket,
left brace, one, comma, right brace, colon


quekou said:
I have a movie scripts that i would like to have all the names
bolded. The names are all line up on the left before a ":". I am
trying to bold all these names. Since these names are different
words, how Word can get this task done? I tried wild cards using
<"*:"> but was unsscussuful. I always tried VBA using unit select
statement, also have no luck. Could anyone share some light on this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top