Share via


Listing styles in Word document

 

When dealing with Styles in Word you can never have too much control. This is when a listing of the existing styles and their descriptions helps a lot.

Happily VBA provides a powerful way of getting details about a certain style through the Description member of the Style class. Based on this I’ve built a small VBA script that generates an HTML list of the existing styles in the active document.

image

The number formatting for list styles is also included.

image

See also: https://office.microsoft.com/en-us/word-help/understanding-paragraph-character-list-and-table-styles-HA001187614.aspx

listStyles.doc