Is it possible to return all the levels of an outline format?
In my document, the first level is wdListNumberStyleUppercaseRoman, but can I have VBA identify the rest of the outline and the List Styles Names?
Maybe it ends up being
wdListNumberStyleUppercaseRoman
wdListNumberStyleUppercaseLetter
etc.
Also, this would be fine just printing out to the immediate window.
Return the List Style used in a document
-
- 3StarLounger
- Posts: 254
- Joined: 09 May 2020, 14:00
-
- Administrator
- Posts: 78235
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Return the List Style used in a document
Please attach a sample document to test on.
Best wishes,
Hans
Hans
-
- 3StarLounger
- Posts: 254
- Joined: 09 May 2020, 14:00
Re: Return the List Style used in a document
I'm going to run a macro on this document to setup heading styles, but need to extract the current wdListNumberStyle.
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78235
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Return the List Style used in a document
Hmm.. this is beyond me. I'm sure one of our Word experts will be able to solve this.
Best wishes,
Hans
Hans