Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A macro word count toggle' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A macro word count toggle
Authored by: jamesmac on Dec 20, '01 10:10:18AM
With a bit of further exploration I've discovered that (at least on my iBook 600) the live word count feature is the one causing most of the problem. With that turned off top reports Word's background CPU usage to drop from 26% to 8%. Unfortunately turning off the live word count is not a good option for me. As I write for a living, I find it a very useful feature. To get around the problem (as Word doesn't provide a simple command to do the job), I've written a simple macro that toggles live word count and can be mapped to a button, menu or keystroke. Here's how... In Word choose 'Macros...' from the 'Macro' submenu in the 'Tools' menu. Type a name for your macro and click the 'Create' button. Then copy in the following code between Sub macroname() and End Sub. Note it should be a single line (it's on three here for easy reading).
If Options.LiveWordCount = False Then
Options.LiveWordCount = True Else
Options.LiveWordCount = False
Then choose 'Close and Return to Microsoft Word' from the 'Word' menu and choose 'Customize' from the Tools menu and click on 'Macros' in the 'Categories' list box. You should then see your new Macro which can then be assigned to a button, menu or keystroke. James Maclaurin

[ Reply to This | # ]