Forum Discussion
Remember my "ignore once" decision.
This is interesting and I haven't thought about creating a text format to disable spelling. However, in your example you base the format on "body text", which I assume only makes it eligible for just that text style. I did a quick test, which confirmed my suspicions, it removes font style (italic/bold/underlined) and sets font colour back to "automatic", and while the dialog leaves the option to keep the font type and size empty so it takes over whatever type and size the font has, I can't see such option for font style or colour. Thus, I cannot use this on, say, a headline, which uses a green font colour or on a weak emphasis, which uses italic style and a grey colour, unless I create a "no proofing" format for every existing format, which changes these font attributes.
Or is there an option to create a text format, which leaves absolutely every setting as is and only sets the no proofing?
Hi Kevin,
The macro in the article will leave alone any font formatting that is based on the paragraph style. This is standard behavior for character styles.
So, I use the Title style or the Heading 1 style for my text. Then apply the character style for no-proofing and nothing changes.
If you have not been using styles to control your formatting, especially in important documents, you are shooting yourself in the foot, making your life harder.
- Kevin3000Apr 02, 2024Copper Contributor
Charles_Kenyon I am using styles, and have created/modified several to fit the needs of the document. I have only tried creating the style you mentioned manually, as I have not yet worked with macros, but I might try that and see if it works better.
- Charles_KenyonApr 03, 2024Bronze Contributor
Resources:
- Install/Employ VBA Procedures (Macros) by Greg Maxey
- Instructions for Installing Macros from Forums or Websites by Graham Mayor, MVP
The macro for a character style creates one that has no characteristics from the base formatting, which can be part of a style if you try to create a style manually.