How to view the values in word document variables? RRS feed

  • Question

  • I have an app that programmatically creates, populates and retrieves the values of Word document variables.  This process works fine most of the time, but I've received a few bug reports that indicate that one of the document variables is empty.

    Word.Variables wrdVars = doc.Variables;
    wrdVars.Add("Letter", WrdPropLETTER_NAME);
    wrdVars.Add("LetterPK", WrdPropLETTERPK);

    With a copy of "physical" document opened,not programmatically, how do I see the contents of these document variables...where are they?

    Thanks in advance

    Thank Kevin

    • Edited by kevcoder Wednesday, August 14, 2013 1:41 PM grammatic fix
    Wednesday, August 14, 2013 1:40 PM


All replies