#1
|
|||
|
|||
Insert a section word count on a cover page of a document
Hi there.
I am creating a template document for my students to use when writing assessments. My first page is a cover page. I then have a section break and the students will then begin their assessment on the 2nd page. Part of their instructions is to include a word count. I initially used the NUMWORDS field, but forgot that it would count all words in the document. I believe there is a way of counting only the words in a specific section and then return the value for that. I have found a number of online tutorials with code included, but due to my very limited knowledge of VBA and macros, I cannot get it to work properly. I would like to insert the section 2 word count into a table on the cover page. Is anyone able to assist me, with perhaps a simple idiots guide that I can work from? |
#2
|
||||
|
||||
Word's NUMWORDS field has no means of defining a range for the count. Indeed, from the first refresh onwards, it includes itself in the count. What you can do is use a formula field coded along the lines of:
{={NUMWORDS}-n} where n is the count of words on your cover page. To create such a field, press Ctrl-F9 twice to create a nested pair of field braces (i.e. {{}}), then add the text to provide the above construction, replacing the 'n' with the cover page word count +1. Press F9 to update when you're done.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word 2007, cannot insert Section Break (Continuous), only Section Break (Next Page) | btse1 | Word | 3 | 11-01-2018 09:23 AM |
Setting background image to cover all of page in Word document | goak | Word | 2 | 06-30-2014 11:59 PM |
Macro to open the Insert>Cover Page window /dialog box | Catty | Word VBA | 3 | 02-24-2014 06:02 PM |
How to insert a cover page inbetween each existing page when printing | grumby1 | Word | 6 | 02-18-2014 07:53 PM |
Word: count total page of each section | salmonrose | Word | 1 | 10-15-2011 05:10 AM |