Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2023, 05:13 AM
Cesarone82 Cesarone82 is offline Write checkbox control by title and not item Windows 11 Write checkbox control by title and not item Office 2010
Novice
Write checkbox control by title and not item
 
Join Date: Aug 2023
Posts: 8
Cesarone82 is on a distinguished road
Default Write checkbox control by title and not item

Hi i can write a checkbox using item(1).checked = ... but i can t seem to be able to do it using contentbytitle method. Probably i m doing something wrong. Do you have any example? I ll paste my code later
Reply With Quote
  #2  
Old 08-23-2023, 07:20 AM
Cesarone82 Cesarone82 is offline Write checkbox control by title and not item Windows 11 Write checkbox control by title and not item Office 2010
Novice
Write checkbox control by title and not item
 
Join Date: Aug 2023
Posts: 8
Cesarone82 is on a distinguished road
Default

Ok for those who need it I resolved:

ActiveDocument.SelectContentControlsByTitle("cb1") .Item(1).Checked = ....
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Write checkbox control by title and not item One Content Control Checkbox checks another Content Control Checkbox DEsh Word VBA 2 10-06-2017 08:23 PM
Write checkbox control by title and not item Content control checkbox calculations allikat305 Word Tables 5 11-22-2016 11:20 PM
Write checkbox control by title and not item How do I make a checkbox or dropdown item reference data in that specific section of the data array? dhare Excel Programming 2 02-24-2016 12:36 PM
Write checkbox control by title and not item Checkbox on page title - in sidebar? Frieda Vizel OneNote 1 02-15-2016 09:00 AM
Write checkbox control by title and not item Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:11 AM.


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