Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2024, 07:08 AM
mascotv2 mascotv2 is offline How to use templates with check boxes to produce files with selected text Windows 10 How to use templates with check boxes to produce files with selected text Office 2021
Novice
How to use templates with check boxes to produce files with selected text
 
Join Date: Oct 2024
Posts: 1
mascotv2 is on a distinguished road
Exclamation How to use templates with check boxes to produce files with selected text

Hi,



So I need help - I am trying to create what is essentially a form with a "master" (i know thats a bad word) template, then allowing individuals to select check boxes on the template to create a document only showing the selected check boxes and associated text.

So far, I have been able to link in check boxes with text, and be able to rename those check boxes, and I have created the template.

I want to be able to select a check box as EITHER a "keep this bit" or a "remove this bit" so when the file is created, we can choose what is and isnt on there. I have started looking into the VBA coding and I assume its just "if check box = true then show text" or vice versa, but I dont know how to actually code that...

Thanks for your help in advance.
Reply With Quote
  #2  
Old 10-03-2024, 02:12 PM
Charles Kenyon Charles Kenyon is offline How to use templates with check boxes to produce files with selected text Windows 11 How to use templates with check boxes to produce files with selected text Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,464
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

This would likely be easier if you stored your desired text as AutoText in your template and use a UserForm to let the user pick what is desired.z
A userform is a custom dialog box that gives you much more flexibility.

Last edited by Charles Kenyon; 10-03-2024 at 09:42 PM.
Reply With Quote
  #3  
Old 10-03-2024, 04:16 PM
Guessed's Avatar
Guessed Guessed is offline How to use templates with check boxes to produce files with selected text Windows 10 How to use templates with check boxes to produce files with selected text Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,159
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

This thread could be useful
https://www.msofficeforums.com/word-...sed-check.html
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
check boxes, template, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to insert different sets of text at bookmark depending on sequence of selected check boxes chipper09 Word VBA 0 06-21-2018 01:49 PM
Have Check boxes and select able text dovaka Word 4 03-26-2015 04:19 AM
Easiest Way to Produce a Report/List of Tagged Text from Multiple Word Files bxchk Word 5 04-29-2014 03:23 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

Other Forums: Access Forums

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


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