locked
How Do I Display Custom Document Properties On the Info -> Properties Page RRS feed

  • Question

  • Hi,

    I want to create a template using Microsoft Word 2010 that has fields similar to the Standard Document Property "Title" that can be used as a fillable form that repeats data throughout the document.  I need a custom document property field that you can fill out on the title page and will simultaneously change the same field that is in the header, footer, and file -> info -> properties page. 

    For example, I want to create a document property field called "Product ID #" that shows the title of the property on the file -> info -> properties page as "Product ID #" and the content to show up as the information a user entered into the field on the first page.

    Right now I have a standard document property that I am using as a field on the front page for the Title which has user defined content on the front page.  This field has default content I set up to be "Product Specification Template".  I inserted this field by using quick parts.  I want to be able to create a field that behaves like this called "Product ID #".  I understand you can create custom form fields that repeat using legacy fields, but I need a way for them to show changes instantly after you click away from the field, without having to "update field" where necessary.

    Anyone have any idea how to create custom document properties like this? Or even how to rename standard properties such as "Status" or "Subject"?

    Thanks

    Thursday, August 14, 2014 9:01 PM

Answers

  • What you're asking can't all be done without a macro. You can easily enough get body content to show in the header & footer via the judicious use of Styles and STYLEREF fields (and the changes are dynamic), but getting that info into the custom document property would require a macro. To that end, you might use a content control with a unique Style applied to it for the data input and a ContentControlOnExit macro to update the custom document property.


    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Marked as answer by Steve Fan Monday, August 25, 2014 8:43 AM
    Thursday, August 14, 2014 11:30 PM