I have a table with 2 columns. The first has a checkbox, the second contains the text. The checkbox highlights the cell
Sub CB1_Click()
If CB1 = True Then
For Each itable In ActiveDocument.Tables
itable.Cell(1, 2).Range.Select
Next
End If
End Sub
The problem is if I check the third row down, the first row loses its selection and does not remain highlighted:
Sub CB3_Click()
If CB3 = True Then
For Each itable In ActiveDocument.Tables
itable.Cell(3, 2).Range.Select
Next
End If
End Sub
How can I change the code so after CB1 is clicked, the text in the 2nd coluimn of the first row remains selected when I click on CB3. It is the same effect as holding down the CTRL key and then clicking into the cell I want to copy. I just want to use the checkbox for the same purpose.