Re: How can I make all text between '/' and '/' bold? by Helmut
Helmut
Tue Feb 14 23:03:25 CST 2006
Hi Steve,
to the best of my knowledge,
you could search for a certain character,
from a certain font.
One after the other, getting the characters
from an array or a text-file,
and then bold the first word in the found range.
In case the font is a decorative font, like symbol,
then it's getting really tough, as whether you find
it depends on whether the character was inserted
by the insert-symbol-dialog or whether the character
was formatted directly.
If inserted by the insert-symbol-dialog then
you'd have to search for "(",
invoke the insert-symbol-dialog
and check the font type, which is displayed there.
Forget about it,
to set up a programmtic solution
will take more time
than doing it by hand, IMHO.
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
>Helmut,
>I'm back again.
>I wonder if you'd know how to go a step further than this...
>Besides wanting individual phonemes in bold, there are also lots of words
>written phonetically that I want to be bold. I wonder if I could make any
>word with certain characters in be bold...? I could make a list of characters
>to search for and when one is found, the word should be bold.
>What do you think?
>Sorry if I'm asking too much here.
>I'd greatly appreciate the help though.