Word 2007 Content Control tag color

H

Harry Sauers

When programmatically creating content controls in Word 2007 (Developer menu
Controls) , is it possible to control/change the color of the tag that is
displayed when the document is in design mode (Developer > Controls > Design
Mode)? By default, these tags are a light-blue and I have also seen them
become pink when these controls are mapped to Custom XML data. I would like
to change the coolor of these tags based on particular conditions. I would
just like to know if this is at all possible using VBA (or something else)
and if so, how it can be done.

Thanks,
Harry Sauers
 
C

Cindy M.

Hi Harry,

Nice to see you here :)
When programmatically creating content controls in Word 2007 (Developer menu
displayed when the document is in design mode (Developer > Controls > Design
Mode)? By default, these tags are a light-blue and I have also seen them
become pink when these controls are mapped to Custom XML data. I would like
to change the coolor of these tags based on particular conditions. I would
just like to know if this is at all possible using VBA (or something else)
and if so, how it can be done.
I don't think there's any way you can control the colors of these tags
directly. The "pink" was used in Word 2003 when a schema was attached to a
document, and it looks like they've continued that practice in 2007 for mapped
Content Controls. Light-blue seems to indicate that no custom schema is
involved.

I do know that the XML Toolbox for Word 2003 provided a tool to change the tag
color. Something in the Registry. But the change applies to ALL tags in the
document. No way to individually affect tags. Interesting thought, though :)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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