Board index » Word » Need Macro to UnBold TOC

Need Macro to UnBold TOC

Word119
My TOC is bold and I want it unbold.

All my Headings are Character Bold (from another application) so I changed

all Heading Styles to be NOT bold so they remain bold.

But the TOC stays bold independent of the style definition of bold or not

bold.

I can manually select the TOC an unbold it but would like a macro to select

TOC an unbold it.

Thanks


-
 

Re:Need Macro to UnBold TOC



"Al" <Al@raytheon.com>wrote in message

Quote


My TOC is bold and I want it unbold.

All my Headings are Character Bold (from another application) so I changed

all Heading Styles to be NOT bold so they remain bold.

But the TOC stays bold independent of the style definition of bold or not

bold.

I can manually select the TOC an unbold it but would like a macro to

select

TOC an unbold it.

Thanks



Sub UnBoldToc()

ActiveDocument.TablesOfContents(1).Range.Font.Bold = False

End Sub





--

Regards

Jonathan West - Word MVP

www.intelligentdocuments.co.uk

Please reply to the newsgroup





-

Re:Need Macro to UnBold TOC

"Jonathan West" <jwest@mvps.org>wrote in

Quote


Sub UnBoldToc()

ActiveDocument.TablesOfContents(1).Range.Font.Bold = False

End Sub







Thanks Jonathan.

Works great.

Al

-