VBA - Checking styles within normal.dot

C

Colin Dash

How do I check to see what styles are available with the
normal.dot?

Thanks.
 
H

Helmut Weber

Hi Colin,
until someone with a better solution comes along:
---
Dim St As Style
Application.NormalTemplate.OpenAsDocument
For Each St In ActiveDocument.Styles
Debug.Print St.NameLocal
Next
ActiveDocument.Close savechanges:=wdDoNotSaveChanges
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top