A
automandc
[Word 2003]: I am trying to figure out a way to programatically apply the
".font.reset" method to all text of particular document style. Ideally I
would like to do it using the Range method of Find, but the exact syntax is
eluding me.
More detail:
I have set up a number of checkboxes to show/hide certain portions of a long
document based on styles (by modifying the ".font.hidden" property of certain
styles). However, I am finding that the document can get out of whack, where
certain sections seem to have the "hidden" property applied even though it is
not default for the style (probably because I am also using the bookmark
method to show/hide certain contiguous portions of the document). I want an
easy way to quickly reset text in particular styles to the style default.
The non programatic way would be to use the Style pull-down and "Select all X
instances", then click the style name and select "Reapply Style" from the
dialog box that comes up.
Thanks.
".font.reset" method to all text of particular document style. Ideally I
would like to do it using the Range method of Find, but the exact syntax is
eluding me.
More detail:
I have set up a number of checkboxes to show/hide certain portions of a long
document based on styles (by modifying the ".font.hidden" property of certain
styles). However, I am finding that the document can get out of whack, where
certain sections seem to have the "hidden" property applied even though it is
not default for the style (probably because I am also using the bookmark
method to show/hide certain contiguous portions of the document). I want an
easy way to quickly reset text in particular styles to the style default.
The non programatic way would be to use the Style pull-down and "Select all X
instances", then click the style name and select "Reapply Style" from the
dialog box that comes up.
Thanks.