change cell margins RRS feed

  • Question

  • I'm creating a word document with several tables. I would like to be able to change the cell margins for the tables.

    In Word, I would go to Table Properties Options and fill in the top, bottom, right, left margins.  Is there a way to do this using

    Thank you

    Rose Anna

    Wednesday, March 4, 2015 5:24 PM


  • found the answer:              

      oTableItems.TopPadding = oWord.InchesToPoints(0.05)

    instead of

                    oTableItems.TopPadding = 0.05

    • Marked as answer by ra_smith Wednesday, March 4, 2015 8:08 PM
    Wednesday, March 4, 2015 8:08 PM