![]() |
|
|
|
#1
|
||||
|
||||
|
If you are going the macro route, then rather than show/hide the hidden text, use the macro to write the text to a bookmarked location or write a nullstring to the bookmark according to the value of the checkbox, then reset the bookmark to the range.
See http://www.gmayor.com/SelectFile.htm for some other ideas.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
#2
|
|||
|
|||
|
Thank you for the quick replies Paul and Graham. I am new to using the developer tab in Word and did not realize it would be an issue to do it the way I did. I'm glad you told me this. I will try to take a different route for creating my form. I tried doing the DocVariable Field thing from Graham's link, but I wasn't able to get it to work.
What would be the best way to create a form like this and not run into any of the problems mentioned by Paul? It does not have to be through Word. If anyone has any samples of a form with hidden text dependent on selections, it would be very helpful to see. Please share if you have one.. thanks!! |
|
#3
|
||||
|
||||
|
Without actually seeing a document in which you've tried to implement it, we can't really advise on where you might have gone wrong. Can you attach a document to a post with some representative data (delete anything sensitive), including the macro code? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Hide/Unhide a Block of Text Based on Choice Selection
|
inquirer | Word VBA | 7 | 09-22-2014 04:41 PM |
Hide Checkbox When Printing
|
vinceplunkett | Word | 1 | 12-03-2013 01:53 AM |
Show/hide paragraphs based on upfront decisions
|
miscia76 | Word | 1 | 11-13-2013 04:29 PM |
VBA for CheckBox to Hide Slides
|
mutchy25 | PowerPoint | 1 | 09-21-2012 01:40 AM |
| Macro to populate a text form field based on dropdown selection | koloa | Word | 0 | 10-20-2011 11:52 AM |