Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

LinkBack Thread Tools Display Modes
Old 05-13-2016, 12:02 PM   #1
Join Date: May 2016
Posts: 18
derajlance is on a distinguished road
Default 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:
Private Sub Check1_Change()
    Dim objCC_Check1 As ContentControl
    Set objCC_Check1 = ActiveDocument.SelectContentControlsByTag("Check1").Item(1)
    If objCC_Check1.Checked = True Then
    End If
End Sub
When testing this, after entering a check, nothing happens.

derajlance is offline   Reply With Quote
Old 05-13-2016, 01:55 PM   #2
Join Date: May 2016
Posts: 18
derajlance is on a distinguished road

Never mind.. I switched over to an ActiveX checkbox and got it working without an issue.
derajlance is offline   Reply With Quote

Thread Tools
Display Modes

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

All times are GMT -7. The time now is 03:35 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft