Planning a new script to highlight superscripts
I'm setting out to start a new script, where the request from the editors are to have a way they can click a button, and all superscripts in the document are made easy to see. I'm thinking to give them a bright shaded color, and make their font size whatever they are now times 2.
Of course, the problem arises when the document is saved, how would one know if the superscripts are already in the highlighted state or not?
I'm thinking as I change them, to also store a document variable, so the next time the document is opened, this button would somehow know that superscripts are already highlighted, so if the button is clicked now, they will toggle back to their normal state - no shading, and their font size, time 0.5.
Just throwing this idea out there before I've started in case anyone has any ideas, or if you see any problems with my plan. I've been learning alot of VBA over the past year, but still find so many things yet to know. This will be my first checkbox on the ribbon, if that's what ends up being the best way to achieve that document variable.
Maybe I could have 2 checkboxes, and let the editor decide if they wanted to use both enlarging the font AND shading.
|