Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2016, 12:02 PM
derajlance derajlance is offline Show Userform when Content Control CheckBox ticked Windows 10 Show Userform when Content Control CheckBox ticked Office 2013
Novice
Show Userform when Content Control CheckBox ticked
 
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:
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
When testing this, after entering a check, nothing happens.

Suggestions?
Reply With Quote
  #2  
Old 05-13-2016, 01:55 PM
derajlance derajlance is offline Show Userform when Content Control CheckBox ticked Windows 10 Show Userform when Content Control CheckBox ticked Office 2013
Novice
Show Userform when Content Control CheckBox ticked
 
Join Date: May 2016
Posts: 18
derajlance is on a distinguished road
Default

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

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Userform when Content Control CheckBox ticked 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
Show Userform when Content Control CheckBox ticked 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
Show Userform when Content Control CheckBox ticked Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft