I have created a word form using text fields within
tables. I would like to use the wordcount feature within
the table cell. I have tried putting the table between
section breaks but the option is still disabled.

Re: enable wordcount in a protected cell by EmpyreanEmpathy

EmpyreanEmpathy
Thu Nov 06 23:13:00 CST 2003

Check out MVP Bill Coan's article "How to add pop-up lists to any Word
document, so you can click your way through changes in seconds - Or
how to use the AutoTextList field."

http://www.mvps.org/word/FAQs/TblsFldsFms/AutoTextListContent.htm.

It's all about substituting AutoTextList fields for drop-down menus
and thereby eliminating the need to "protect" the document. Maybe
that'll work for your table cells so you can get the wordcount.


"jan" <anonymous@discussions.microsoft.com> wrote in message news:<0cf301c3a481$331645e0$a501280a@phx.gbl>...
> I have created a word form using text fields within
> tables. I would like to use the wordcount feature within
> the table cell. I have tried putting the table between
> section breaks but the option is still disabled.

Re: enable wordcount in a protected cell by Cindy

Cindy
Wed Nov 12 11:18:08 CST 2003

Hi Jan,

> I have created a word form using text fields within
> tables. I would like to use the wordcount feature within
> the table cell. I have tried putting the table between
> section breaks but the option is still disabled.
>
Code similar to the following will give you that information

Sub GetNrWords()
Dim rng As Word.Range
Set rng = ActiveDocument.FormFields("Name").Range
StatusBar = rng.ComputeStatistics(wdStatisticWords)

End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)