Hi Bjørn,
How do I create a Range based on a style, eg. Heading 1, Normal ??
You don't really give us a lot of information to go on, here... You
should always mention which version of Word (I'm assuming it's Word,
and not Excel) is involved. And can you explain in a bit more detail
what you need to do with such a range?
Based on what you say, my reply would have to be: use Range.Find to
locate the next instance of the style. If Find.Found is true, then
the Range now contains what was found.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30
2003)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail