Update Fields leading to weird Bolding

B

Brent McIntyre

Hi all,

I got some help yesterday in regards to updating fields within a Heading, now the next part is to unbold all fields entirely. It appears that for some unknow reason half of some of my fields are bolded automatically. There is no bolding in the original template, and I do not initiate any by my programming, has anyone else come across this ?

Yours sincerely,

Brent McIntyre
 
J

Joey Jacobs

Yes I have encountered it as well but are having the same
problem and no solution.
-----Original Message-----
Hi all,

I got some help yesterday in regards to updating fields
within a Heading, now the next part is to unbold all
fields entirely. It appears that for some unknow reason
half of some of my fields are bolded automatically. There
is no bolding in the original template, and I do not
initiate any by my programming, has anyone else come
across this ?
 
B

Brent McIntyre

Joey,

I ended up using some code offered by one of the other contributors on the newsgroups mixed with the Bold = False routine from the Microsoft VBA Help.

For Each pRange In ActiveDocument.StoryRanges
Do
pRange.Fields.Update
pRange.Font.Bold = False
Set pRange = pRange.NextStoryRange
Loop Until pRange Is Nothing
Next

Hope you find a use for this !

Yours sincerely,

Brent McIntyre
 

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