S
Sok Hong
Hello, I am working a form full of checkboxes,(more than
one can be selected at a time). I am currently trying to
set the check boxes so that when the user selects a
choice, a specific text message will be entered into the
table. It was achieved with the code shown below:
Private Sub Check76_AfterUpdate()
If [Check76].Value = True Then
[Word].Value = "Billing"
End If
End Sub
Private Sub Check81_AfterUpdate()
If [Check81].Value = True Then
[Word].Value = "SUBP"
End If
End Sub
However, I want the text to be added on not replace one
another. For example, if I selected both [Check76] and
[Check81] I want the cell in the table to display
both "billing" and "subp", any clues on how to do that?
Also, is there a way to erase that text if the checkbox is
deselected? Thank you.
one can be selected at a time). I am currently trying to
set the check boxes so that when the user selects a
choice, a specific text message will be entered into the
table. It was achieved with the code shown below:
Private Sub Check76_AfterUpdate()
If [Check76].Value = True Then
[Word].Value = "Billing"
End If
End Sub
Private Sub Check81_AfterUpdate()
If [Check81].Value = True Then
[Word].Value = "SUBP"
End If
End Sub
However, I want the text to be added on not replace one
another. For example, if I selected both [Check76] and
[Check81] I want the cell in the table to display
both "billing" and "subp", any clues on how to do that?
Also, is there a way to erase that text if the checkbox is
deselected? Thank you.