Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-14-2019, 12:27 PM
LobaBlanca LobaBlanca is offline Windows 10 Office 2019
Novice
 
Join Date: Mar 2019
Posts: 2
LobaBlanca is on a distinguished road
Default Auto-populate Text Field When I Click Check Boxes

Hi,

I would like to program my Word form so when I select check boxes from a list of options, the names I assign to the check boxes auto-populate a text field. For example, if I have eight check boxes and I check boxes 2, 4, 6, and 8, I would want the numbers 2, 4, 6, and 8 to then appear automatically in an associated text field. Is this possible?





Thank you!
Karen
Reply With Quote
  #2  
Old 03-14-2019, 06:39 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 1,085
Guessed has a spectacular aura aboutGuessed has a spectacular aura aboutGuessed has a spectacular aura about
Default

Yes, it is possible.

Are you using content controls for the check boxes? Are there other check boxes in other areas of the form that shouldn't be included in the macro?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 03-14-2019, 08:10 PM
LobaBlanca LobaBlanca is offline Windows 10 Office 2019
Novice
 
Join Date: Mar 2019
Posts: 2
LobaBlanca is on a distinguished road
Default

Yes, I'm using content controls for the check boxes and the text field. I need to set up two separate sets of check boxes. One will be a group of approximately 20 boxes that will be for different organizational units. I want users to be able to select however many of these organizational units they need to, and when they click the check boxes, I want the names of those org units to appear in the text field. I want the same thing to happen with the second group of check boxes, which will be approximately 80 boxes that will represent different topics the form users can select. The topic names should appear in a second text field (not the same as the org units' text field) when a user clicks the check boxes.



There won't be other check boxes beyond these two groups.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto populate multiple text boxes dependent on a drop down angelaschultz Word VBA 7 03-18-2017 03:00 PM
Have Text Entered in Content Control / PreDefined Field Populate Field in Footer bzowk Word 1 04-14-2016 11:50 AM
Check Box Form Field Book Mark Auto Fill? zacam87 Word VBA 5 08-20-2014 02:56 PM
Word2010 check boxes and plain text content control boxes in same table fcsungard Word 5 06-01-2012 01:16 AM
Problem with Developer Form -- Check Boxes and Text Boxes PCC Word 1 05-16-2009 05:22 AM


All times are GMT -7. The time now is 01:33 AM.


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