R
rob p
In a table in word 2k template, if check box is checked then the font in
that cell turns bold:
Table has two rows and two cols. This is row 1, col 1.
If ActiveDocument.FormFields(FormfieldName()).CheckBox.Value = True Then
Selection.Cells(1).Range.Font.Bold = True
How can I turn font in cell row 2, col 1 also bold in the same if statement?
thanks
I tried the following but kept erroring out:
Set myTable = ActiveDocument.Tables(1)
myTable.Range.Cells.Add BeforeCell:=myTable.Cell(2, 1)
that cell turns bold:
Table has two rows and two cols. This is row 1, col 1.
If ActiveDocument.FormFields(FormfieldName()).CheckBox.Value = True Then
Selection.Cells(1).Range.Font.Bold = True
How can I turn font in cell row 2, col 1 also bold in the same if statement?
thanks
I tried the following but kept erroring out:
Set myTable = ActiveDocument.Tables(1)
myTable.Range.Cells.Add BeforeCell:=myTable.Cell(2, 1)