This isn't as easy as I tought.
If I go to the style pane I will find lots of sequences like
<style name>
<style name> + condensed <number1>
<style name> + condensed <number2>
<style name> + condensed <number3>
<style name> + condensed <number4>
<style name> + condensed <number5>
<style name> + condensed <number6>
etc
If I select all instances of one of the lines above (from the style pane) it is individual characters that are affected. If I the use the font tab on the ribbon to reset the condensed setting back to normal, that particular style dissappears from the task pane. It seems I was deleting but as there are lits it didn't seem like they were diminishing. To write a macro I either have to be able to acces the style pane facility for selecting al instances of a style or search through the document on a character by character basis.
Its not clear why my code above doesn't work when emulating the same operation from the style pane does work.
Condensed is the example I'm using . I also have lots and lots of expanded, left, right, raised, lowered, in multifarious combinations so finding a macro solution would be great. All of this stuff is unecessary extraneous formatting which can be safely removed.
Any more thoughts.
|