Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Nov 2001
    Posts
    119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I loop through all styles used in document? (2002)

    Hi there,

    I need to be able to loop through my document and detect which styles are currently being used.

    I tried to do this using the objStyle.InUse property, however, this returns ALL styles available.

    I need to detect whether Headings 1 - 9 are present? Is this doable?

    Any help much appreciated [img]/forums/images/smilies/smile.gif[/img]

    Thanks, Chris

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How do I loop through all styles used in document? (2002)

    See this thread. HTH --Sam
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •