#1
|
|||
|
|||
Show Userform when Content Control CheckBox ticked
I've tried to get this to work every way except the correct way obviously.
I have a Content Control CheckBox on a document. When it is checked, I would like a userform to show. My most recent attempt to make this happen was using: Code:
Private Sub Check1_Change() Dim objCC_Check1 As ContentControl Set objCC_Check1 = ActiveDocument.SelectContentControlsByTag("Check1").Item(1) If objCC_Check1.Checked = True Then UserForm1.Show End If End Sub Suggestions? |
#2
|
|||
|
|||
Never mind.. I switched over to an ActiveX checkbox and got it working without an issue.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clicking the selected Content Control checkbox returns wrong control in vba event | DougsGraphics | Word VBA | 2 | 06-24-2015 07:31 AM |
How-to: Add a quickpart, field or Building Block Gallery Content Control based on a UserForm | HighSierra | Word VBA | 0 | 05-06-2015 08:20 PM |
Replace checkbox symbol with check box content control | canadansk | Word VBA | 5 | 04-01-2015 08:21 AM |
Help with show/hide content control | acontreras | Word VBA | 0 | 10-21-2014 07:28 PM |
Deleting a table from a content control -- preserving the content control | BrainSlugs83 | Word Tables | 8 | 11-14-2013 03:06 AM |