Quote:
Originally Posted by Treespicer
I have a little user form that allows the user to select "Case A" or "Case B". I want to then hide or show the applicable test steps. I can do this with something like Bookmarks("Case A").Range.Font.Hidden = True, etc. However, hiding the text of the headings does not cause the heading numbers to re-sequence.
...
I want "Test step 3" to be number 1.3. Is there a simple way to accomplish this? This happens in many locations throughout the document, so I'd rather not have to do a bunch of somersaults with manually changing/re-sequencing the heading numbers all over.
|
You can't change the numbering sequence by merely hiding the headings. As JulieW suggests, you would have to apply a different Style that doesn't use the numbers.
Do bear in mind too that merely setting a range's font to hidden doesn't stop that range from being viewed or printed; those behaviours are controlled by how Word is configured.