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.

Was it helpful?

Solution

ThisDocument.Styles("StyleToToggle").Font.Hidden = Not ThisDocument.Styles("StyleToToggle").Font.Hidden
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top