Reply
 
Thread Tools Display Modes
  #1   Report Post  
rgrodrigues rgrodrigues is offline
Junior Member
 
Posts: 0
Default Using NUMWORDS in an IF statement

I want to echo a warning message when the number of words in a document is larger than 10000.
I used the field

{IF {NUMWORDS} 10000 " - Too much words. Please reduce the manuscript to no more than 10000 words." "OK" \* MERGEFORMAT}

I also tried IF NUMWORDS 10000

But I always get the True result " - Too much words. Please reduce the manuscript to no more than 10000 words.", even when NUMWORDS is 700.
I used Ctrl + F9 to insert {}. And also tried IF NUMWORDS 10000, with the same result.

Any ideas on the solution?

Thanks in advance.

(as the "greater than" symbol does not show up in the post, I added an image of the field.)
Attached Images
 
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get NUMWORDS working in a formula field Bill Microsoft Word Help 5 April 23rd 09 11:05 AM
which statement right , question is Choose the correct statement? how many template?when we click new doc Microsoft Word Help 1 October 16th 06 11:15 AM
which statement right , question isChoose the correct statement? how many template?when we click new doc Microsoft Word Help 1 October 15th 06 11:20 PM
NumWords field and Grammar Check discrepencies topher98272 Microsoft Word Help 1 July 8th 06 12:30 AM
Numwords Field in a Cell Steve Cann. Tables 3 July 3rd 05 07:39 AM


All times are GMT +1. The time now is 10:36 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"