S
sdjwalls
Hello,
I've been struggling with how to delete a portion of a document by the
heading levels. I can return a collection of all the instances of a
particular style:
ActiveDocument.Styles("Int Heading 1")
But what I need to do is delete everything from the first instance "Int
Heading 1", up to, but not including, the second instance of "Int Heading 1".
Is there a way to do this? Is it possible to index into a styles collection
object and set a range (or some other way)?
Much appreciated,
SW
I've been struggling with how to delete a portion of a document by the
heading levels. I can return a collection of all the instances of a
particular style:
ActiveDocument.Styles("Int Heading 1")
But what I need to do is delete everything from the first instance "Int
Heading 1", up to, but not including, the second instance of "Int Heading 1".
Is there a way to do this? Is it possible to index into a styles collection
object and set a range (or some other way)?
Much appreciated,
SW