Update word document in debugger RRS feed

  • Question

  • Hi all,

    I'm working on my first office vsto document and have a question.

    I put some code into the ThisDocument_New function:

    this.Paragraphs[2].Range.Text = "This text was added by using code.";

    Why is the text I insert into the word document from withing the function displayed after the debugger leaves the function ThisDocument_New and how to see the text manipulation in realtime (after debuger stepped over command) ?

    To be a bit more precise in ThisDocument_New I open a dialog where the user chooses a customer, the customer info get retreived from a webservice. I insert different AutoText templates and fill the customer info from the webserivice into bookmarks.... not very handy when I cannot see the individual steps/result from each step.


    • Edited by acki4711 Thursday, March 26, 2020 11:49 AM
    Thursday, March 26, 2020 11:07 AM