none
Link controlled content RRS feed

  • Question

  • How do you link 2 control boxes?

    I want to set up my own controlled boxes e.g. company name etc., and link so that when one is filled in, the other is automatically filled in.

    Is there also a way of linking on demand? If a box is clicked, it links. I am creating a template for minutes. If the minute requires an action, that note is copied onto another table with the actions.

    Is this possible without using programming code?

    Thanks!

    Thursday, July 5, 2012 1:07 PM

Answers

  • Hi roisin

    The tool to download is the only way you can do this without programming the code yourself. There's nothing built into Word that lets you set up a link.

    You did, by the way, post in the "Word for Developers" forum, which is dedicated to programming. You will tend to get answers that involve programming :-) If you want to discuss end-user level approaches to problems, I recommend the Answers site:

    http://answers.microsoft.com/en-us/office/forum/word


    Cindy Meister, VSTO/Word MVP

    • Marked as answer by roisin_A_ Thursday, July 5, 2012 3:05 PM
    Thursday, July 5, 2012 3:01 PM
    Moderator

All replies

  • Hi rosin

    Word has nothing that's called a "controlled box", so we have no idea exactly what you're talking about. If you're unsure, tell us the commands used to insert this into a Word document and we can figure it out...

    Also, which version of Word are you using?


    Cindy Meister, VSTO/Word MVP

    Thursday, July 5, 2012 1:17 PM
    Moderator
  • Sorry, I meant content control! I want to know how to link 2 pieces of text that are content control. I am on the develloper tab and am creating a template in Microsoft Word 2010.

    Thanks!


    R. McArdle

    Thursday, July 5, 2012 2:12 PM
  • Hi roisin

    You may want to review the information in section 7 on this page:
    http://gregmaxey.mvps.org/word_tip_pages/repeating_data.html

    Linking content controls to a custom XML part is mentioned briefly, at the end, with a VBA code snippet which can do everything you need. If you link two content controls to the same XML node in a Custom XML Part, they will contain the same information.

    In addition, there's a free Content Control Toolkit you can download if you prefer not to use your own code when setting up a template:
    http://dbe.codeplex.com/releases/view/5508

    It appears the codeplex site has undergone a "Metro" renovation, so you may at first think there's nothing on the page - scroll down (and down, and down...)


    Cindy Meister, VSTO/Word MVP

    Thursday, July 5, 2012 2:36 PM
    Moderator
  • Thanks Cindy.

    Is there any way to do this that does not involve programming?

    I'm in work, and cannot download anything.


    R. McArdle

    Thursday, July 5, 2012 2:43 PM
  • Hi roisin

    The tool to download is the only way you can do this without programming the code yourself. There's nothing built into Word that lets you set up a link.

    You did, by the way, post in the "Word for Developers" forum, which is dedicated to programming. You will tend to get answers that involve programming :-) If you want to discuss end-user level approaches to problems, I recommend the Answers site:

    http://answers.microsoft.com/en-us/office/forum/word


    Cindy Meister, VSTO/Word MVP

    • Marked as answer by roisin_A_ Thursday, July 5, 2012 3:05 PM
    Thursday, July 5, 2012 3:01 PM
    Moderator