Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-04-2017, 03:48 PM
gmaxey gmaxey is offline VBA Assign Checkbox Content Control Symbols Windows 7 32bit VBA Assign Checkbox Content Control Symbols Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,636
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey, http://gregmaxey.com/word_tips.html, 12/4/2017
Dim oCC As ContentControl
  For Each oCC In ActiveDocument.Range.ContentControls
    If oCC.Type = wdContentControlCheckBox And oCC.Title = "RateDot" Then
      oCC.SetCheckedSymbol CharacterNumber:=82, Font:="Wingdings 2"
      oCC.SetUncheckedSymbol CharacterNumber:=163, Font:="Wingdings 2"
    End If
  Next
lbl_Exit:
  Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Assign Checkbox Content Control Symbols One Content Control Checkbox checks another Content Control Checkbox DEsh Word VBA 2 10-06-2017 08:23 PM
VBA Assign Checkbox Content Control Symbols Content control checkbox calculations allikat305 Word Tables 5 11-22-2016 11:20 PM
VBA Assign Checkbox Content Control Symbols Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
VBA Assign Checkbox Content Control Symbols Replace checkbox symbol with check box content control canadansk Word VBA 5 04-01-2015 08:21 AM
VBA Assign Checkbox Content Control Symbols Assign a value to a Content Control SuzeG Word VBA 10 12-08-2013 08:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:52 PM.


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