Forum Discussion
Mamajobyu
Mar 14, 2024Copper Contributor
VBA coding Word help
I am just venturing into the world of Visual Basic/userforms and I need some help. General purpose: I am creating a form where based on the selections in the form, it interacts with the word do...
Charles_Kenyon
Mar 15, 2024Bronze Contributor
The following should be of use to you:
Rather than collapsing/uncollapsing paragraphs, consider two alternatives:
- Marking the text as hidden, or (better in my opinion)
- Inserting the text, possibly from AutoText/Building Blocks so that if not selected it is not even in the document. Hidden/collapsed text is available to curious eyes.
Using VBA to Insent an AutoText Entry or other Building Block