
Characters and Line Count
(Word 2000) I need a macro that gives me the line and
character count, as they appear in the Tools->Word Count
menu.
For character count, I use:
ActiveDocument.Characters.Count
However, the number it gives me differs from the number
that appears in Tools->WordCount->Characters(including
spaces).This has something to do with the fact that Word
counts paragraphs differently when you do it
programmatically and from the menu. (try it on a document
that has some blank paragraphs with Spacing Before/After
set to 0 and pagination controls unchecked). I however
need to get programmatically the same figure as in Tools-
Quote:
>WordCount->Characters(including spaces).
The second part of the problem is that there is no code
that looks like ActiveDocument.Lines.Count
How to get the line count programmatically?