enable wordcount in a protected cell

J

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.
 
B

Bruce Brown

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.
 
C

Cindy M -WordMVP-

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
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top