none
Adding a new table to a word document at the cursor RRS feed

  • Question

  • Hi

    How do you add a new table at the cursor location to a word document. I was also keen to place this event in the UserControl1 class as the event will activated when the user presses Button1.

    nrows variable will specify the number of rows and the table will contain 3 columns. I want the table to span the full width of the document (within the margins)

    Also to specify the range (within the tables.add method) does this need to be declared before the add method or can this be specified in the add method.

    I am creating the word addin in Visual Studio 2010 using .net framework 4.0 and programming in vb.net

    Thanks again for your assistance.

    Wednesday, December 25, 2013 12:28 AM

Answers

All replies