How hide/show all paragraphs with a certain text-style? [closed]
-
11-12-2019 - |
Question
I'm trying to find a way with VBA to hide/show a certain text-style.
What's the best way to make a sub like this in VBA?
I'm going to add the code to a "Hide/show" button.
Solution
ThisDocument.Styles("StyleToToggle").Font.Hidden = Not ThisDocument.Styles("StyleToToggle").Font.Hidden
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow