View Single Post
 
Old 11-19-2012, 12:41 PM
RobsterCraw RobsterCraw is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Nov 2012
Posts: 11
RobsterCraw is on a distinguished road
Default Creating a plain text content control for every instance of a word or phrase

Like the title says...

I have managed to make a script that on command creates a content control that maps to a custom XML part. This way I can copy and paste that content control various places in the document and changing the values in one automatically updates the others.

However, I would like to create a way of automatically binding all instances of a string into a content control mapped to the custom XML part. Basically like a find and replace, except instead of replacing the text it just places it in a simple text CC.

Bonus points for the same thing with the date picker CC.

Any help would be really appreciated. My VBA skills are shaky and the first part took me a long time without asking for help.
Reply With Quote