Place checkbox in table cell


Hello, Can someone supply a little code on how to insert a checkbox in cell of a table? The Template.doc has 2 different tables already inside, I need to put a checkbox in the first column of each row in the second (bottom) table.

Dim ww as New Word.Word
Dim wd as Word.Document
Dim wddb as Word.DocumentBuilder

wd = ww.Open(“c:\Template.doc”)

wddb = New Word.DocumentBuilder(wd)

…Now what?



EDIT: I got it working


I see you got it working.

Sure, all you need is call DocumentBuilder.MoveToCell and then DocumentBuilder.InsertCheckBox.