#1
|
|||
|
|||
Set autonumber to bold
Hi
Is there a way to set autonumbering to bold for a particular paragraph, using VBA? When I apply Range.Font.Bold it doesn't also apply it to the number. The paragraph in question is part of a multi level list with styles linked to the various levels. The number formatting is not bold in the multilevel list. I essentially need two different styles at the same level but have yet to find a way to do this. My workaround is to have a macro to change the formatting of a paragraph and insert a TC marker, while it remains part of the numbered list. (See my other threads!) Sorry for the brevity of this post, but I am having to post on my phone. Thanks |
#2
|
||||
|
||||
The formatting of the autonumber is overridden by the formatting of the paragraph mark at the end of that paragraph. So code to apply formats to the number would be along the lines of...
Code:
Range.Paragraphs(1).Range.Characters.Last.Font.Bold = True
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AutoNumber manual numbered documents | jec1 | Word VBA | 2 | 08-07-2022 11:57 PM |
Bold Header if it is not Bold (Check to see if it is Bold) | armendarizj | Word | 2 | 01-06-2022 05:45 PM |
Does Word have Autonumber Format (like in FrameMaker)? | Luxanais | Word | 7 | 05-19-2015 12:57 AM |
Autonumber MS Word template | Lpitt56 | Word | 1 | 09-22-2011 04:04 PM |
need autonumber in my excel file | mit | Excel | 2 | 06-21-2011 10:56 PM |