Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-06-2017, 12:14 PM
DEsh DEsh is offline One Content Control Checkbox checks another Content Control Checkbox Windows XP One Content Control Checkbox checks another Content Control Checkbox Office 2013
Novice
One Content Control Checkbox checks another Content Control Checkbox
 
Join Date: May 2017
Posts: 1
DEsh is on a distinguished road
Default One Content Control Checkbox checks another Content Control Checkbox

I have a form in Word 2013 that is 2 pages long and the basic information for the second page contains all the same basic information from the first page. The text fields are no problem and have copied over fine using bookmarks. However, there are 5 checkboxes that if checked on the first page, I need them to be checked on the second page. They are named as follows:

First Page Second Page
C1 C2
VCI1 VCI2
CI1 CI2
PN1 PN2
PY1 PY2

I find all sorts of code available to make checkboxes mutually exclusive, but that isn't what I need and unfortunately, I don't have enough coding knowledge to modify that code to work in the opposite.

Any assistance would be greatly appreciated.
Reply With Quote
  #2  
Old 10-06-2017, 01:47 PM
macropod's Avatar
macropod macropod is offline One Content Control Checkbox checks another Content Control Checkbox Windows 7 64bit One Content Control Checkbox checks another Content Control Checkbox Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your references to content controls, then to fields and bookmarks suggest you're using a mix of content controls and formfields; you shouldn't. Content controls and formfields were not designed to work together and you can cause problems when you do.

For repeating content control data, see 'Supporting repeating content' in: https://msdn.microsoft.com/en-us/lib...or=-2147217396
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-06-2017, 08:23 PM
gmayor's Avatar
gmayor gmayor is offline One Content Control Checkbox checks another Content Control Checkbox Windows 10 One Content Control Checkbox checks another Content Control Checkbox Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You can map the content controls and cross reference them so they work as one when checked and unchecked. The content control version of http://www.gmayor.com/BookmarkandVariableEditor.htm makes this a simple task. If you want to explore what is possible with mapped content controls to a greater depth then Greg Maxey has a more sophisticated (but inevitably more complicated to get your head around) version which is linked from that page.

As for the content control/form field issue raised by Paul http://www.gmayor.com/ExtractDataFromForms.htm includes a tool to convert form fields to content controls.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
checkbox, contentcontrol

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
One Content Control Checkbox checks another Content Control Checkbox Content control checkbox calculations allikat305 Word Tables 5 11-22-2016 11:20 PM
One Content Control Checkbox checks another Content Control Checkbox Show Userform when Content Control CheckBox ticked derajlance Word VBA 1 05-13-2016 01:55 PM
One Content Control Checkbox checks another Content Control Checkbox Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
One Content Control Checkbox checks another Content Control Checkbox Replace checkbox symbol with check box content control canadansk Word VBA 5 04-01-2015 08:21 AM
One Content Control Checkbox checks another Content Control Checkbox 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 06:24 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