B
bhartman36
Hi, Everyone.
I'm trying to simplify creating a table of contents for my documents.
I've got a font setup for my documents that I like, so I don't want a
style to mess with it. Unfortunately, when I create a new style
using:
ActiveDocument.Styles.Add ("macrotoc")
the style it creates isn't blank. I would like a style to be created
that keeps all the text within the style the same as it was before the
style was applied (e.g., things that are bolded stay bolded, underline
stays underlined, non-bold stays non-bold, etc.). Is there a way to
specify that the style is blank in this way??
Thanks!
I'm trying to simplify creating a table of contents for my documents.
I've got a font setup for my documents that I like, so I don't want a
style to mess with it. Unfortunately, when I create a new style
using:
ActiveDocument.Styles.Add ("macrotoc")
the style it creates isn't blank. I would like a style to be created
that keeps all the text within the style the same as it was before the
style was applied (e.g., things that are bolded stay bolded, underline
stays underlined, non-bold stays non-bold, etc.). Is there a way to
specify that the style is blank in this way??
Thanks!