#1
|
|||
|
|||
Word Count Formula
Hi!
I would like to know the forumla in Word 2010 to calculate the number of words in my document? Easy you say? I know what you are thinking, its that word count at the bottom of Word 2010. However, my situation is a little different because it may involve some programming code as such. Heres the problem: My Tutor says our assignments must have a word count of only 3,000 words no more. At the moment, my word count is 3,800. This is because in Word 2010, the word count also includes, headings and sub headings used in my contents page which shouldn't be included in the word count. I've calculated the total number of headings, and sub headings, so far and it comes to: 430 words Now what would like to know is how I can use the total word count and at the same time automatically deduct the value of 430 to show my true final word count? You see the reason I am asking is like most people including, my Tutor he will look at the taskbar for the word count and assume that I have gone way over my 3,000 limit than what is really calculated. For example: How do I write out a formula maybe using an "if statement" or some other statement to show that if the total word count is >=3,000 then deduct 430 ? Sorry if this doesn't make sense. Its hard enough for me as it is. Cheers. |
#2
|
|||
|
|||
It is an extremely complex process. See: http://gregmaxey.com/word_tip_pages/...cy_report.html
You might be able to user this: Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey If ActiveDocument.ComputeStatistics(wdStatisticWords) > 3000 Then MsgBox ActiveDocument.ComputeStatistics(wdStatisticWords) - 430 End If End Sub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word count question | Wuffybrother | Word | 3 | 03-22-2019 03:40 AM |
Formula to count entries as per month, year and submission wise from different sheets | pinkacidpunk | Excel | 1 | 05-28-2013 08:26 AM |
Word Count | Richtriebe | Word | 1 | 04-20-2013 11:09 AM |
Count If Formula | beb1227 | Excel | 10 | 06-19-2011 11:19 AM |
changing word count | hamster | Word | 3 | 06-03-2010 01:53 AM |