B
Brennan Smith
Is there a way to get the total word count to include tables (in addition to
headers and footers)?
headers and footers)?
Hi Suzanne,
The {NUMWORDS} field doesn't count anything in text boxes, shapes, headers, footers, footnotes or endnotes and only counts hidden
text if the 'print hidden text' option is checked. Footnote & endnote references may or may not be counted, depending on where
they're located within the body of the document. The same applies to the {DOCPROPERTY "Words"} field.
To get a complete word count with a macro using ComputeStatistics(wdStatisticWords), you'd have to loop through all the story
ranges, tallying the count as you go.
--
Cheers
macropod
[Microsoft MVP - Word]
Suzanne S. Barnhill said:AFAIK, it does.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
Jay Freedman said:A slight amendment: In Word 2007, the word count on the status bar and
the Word Count dialog will include text boxes and shapes (if that
option is checked in the Word Count dialog). The fields and
ComputeStatistics still behave as before.
--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
Hi Suzanne,
The {NUMWORDS} field doesn't count anything in text boxes, shapes, headers, footers, footnotes or endnotes and only counts hidden
text if the 'print hidden text' option is checked. Footnote & endnote references may or may not be counted, depending on where
they're located within the body of the document. The same applies to the {DOCPROPERTY "Words"} field.
To get a complete word count with a macro using ComputeStatistics(wdStatisticWords), you'd have to loop through all the story
ranges, tallying the count as you go.
--
Cheers
macropod
[Microsoft MVP - Word]
Suzanne S. Barnhill said:AFAIK, it does.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
Is there a way to get the total word count to include tables (in addition to
headers and footers)?
Thanks, Jay.
--
Cheers
macropod
[Microsoft MVP - Word]
Jay Freedman said:A slight amendment: In Word 2007, the word count on the status bar and
the Word Count dialog will include text boxes and shapes (if that
option is checked in the Word Count dialog). The fields and
ComputeStatistics still behave as before.--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.On Sat, 31 Oct 2009 12:44:45 +1100, "macropod"
Hi Suzanne,
The {NUMWORDS} field doesn't count anything in text boxes, shapes, headers, footers, footnotes or endnotes and only counts hidden
text if the 'print hidden text' option is checked. Footnote & endnote references may or may not be counted, depending on where
they're located within the body of the document. The same applies to the {DOCPROPERTY "Words"} field.
To get a complete word count with a macro using ComputeStatistics(wdStatisticWords), you'd have to loop through all the story
ranges, tallying the count as you go.
--
Cheers
macropod
[Microsoft MVP - Word]
AFAIK, it does.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
Is there a way to get the total word count to include tables (in addition to
headers and footers)?- Hide quoted text -
- Show quoted text -