You can delete the 30 and type any number you like. I share this macro with Allen’s permission. MsgBox iM圜ount & " sentences longer than " & _Ĭredits: I learned about this gem of a macro, created by Allen Wyatt, from my colleague Dave May. Word automatically saves the macro.įor Each MySent In ActiveDocument.Sentences Copy the macro-everything in the box below, from Sub to End Sub-and paste it into the blank document.Go to the Insert menu, and choose Module.A window opens with the title “Microsoft Visual Basic – Normal.” In Word, go to the Tools menu, and choose Macro > Visual Basic Editor.If any Word documents are open, close them.Here’s how to create the macro and then run it in any Word doc. When my friend Anne Reed tried a similar macro, she said, “My version of Word uses a different path to create a macro, but the cut-and-paste still worked perfectly once I got there.” If these instructions don’t match your version of Word, you can probably find the steps you need online.Keep longer sentences only after you’ve cut all the words you can and experimented with breaking the sentence up. A well-formed longer sentence may read just fine. Don’t feel obligated to keep all your sentences under 30 words.You don’t have to know anything about macros to do this I’m about to walk you through the steps. A macro is a chunk of code, some lines of text sitting quietly in a small file, waiting for someone to run it so that it can tell Word to do something. Use Microsoft Word to turn all your long sentences red so that they jump out at you, like this: And do yourself a favor-use technology to help. Do your readers a favor and keep most of your sentences under 30 words. Long sentences, as you know, can make reading a slog.
0 Comments
Leave a Reply. |