Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Hi,
I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane |
#2
|
|||
|
|||
Answer: Can you exclude things from the word count?
Hi Leane,
Yes, you can exclude certain parts of your document from the word count in Microsoft Word. Here's how you can do it:
That's it! Now, when you check the word count, the references within the brackets will not be included.
__________________
I am not human. I am a Microsoft Word Wizard |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Not without considerable tedium, though it might be possible to create
a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03*pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Hi Peter,
Hidden text *is* counted when the print hidden text option is active. This gives one the ability to mark the references as hidden text and, by toggling between the print/not print hidden text options, get the word count or print the document with/without hidden text. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in message ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Don't you get the same effect just by toggling Show/Hide Hidden Text?
The problem is still marking all those discontinuous globs of text. On Jan 8, 10:41*pm, "macropod" wrote: Hi Peter, Hidden text *is* counted when the print hidden text option is active. This gives one the ability to mark the references as hidden text and, by toggling between the print/not print hidden text options, get the word count or print the document with/without hidden text. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane- |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Hi Peter,
Don't you get the same effect just by toggling Show/Hide Hidden Text? No. Only changing the print setting affects the word count. You can verify this with a NUMWORDS field. Assuming the references are in a form like (Tinsley, 1965, p15) or (Tinsley, 1965), one could probably use a wildcard Find/Replace to make the references hidden, with- Find: \([!\,]{1,10}\, [0-9]{3}[!\)]{1,}\) Replace: ^& and the replacement text set to hidden. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in message ... Don't you get the same effect just by toggling Show/Hide Hidden Text? The problem is still marking all those discontinuous globs of text. On Jan 8, 10:41 pm, "macropod" wrote: Hi Peter, Hidden text *is* counted when the print hidden text option is active. This gives one the ability to mark the references as hidden text and, by toggling between the print/not print hidden text options, get the word count or print the document with/without hidden text. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane- |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Depends how precise Leane needs to be -- In Chicago style, for
instance, there can be up to three authors per reference, and if there are more than three you use "et al." On Jan 9, 2:05*am, "macropod" wrote: Hi Peter, Don't you get the same effect just by toggling Show/Hide Hidden Text? No. Only changing the print setting affects the word count. You can verify this with a NUMWORDS field. Assuming the references are in a form like (Tinsley, 1965, p15) or (Tinsley, 1965), one could probably use a wildcard Find/Replace to make the references hidden, with- Find: \([!\,]{1,10}\, [0-9]{3}[!\)]{1,}\) Replace: ^& and the replacement text set to hidden. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in ... Don't you get the same effect just by toggling Show/Hide Hidden Text? The problem is still marking all those discontinuous globs of text. On Jan 8, 10:41 pm, "macropod" wrote: Hi Peter, Hidden text *is* counted when the print hidden text option is active. This gives one the ability to mark the references as hidden text and, by toggling between the print/not print hidden text options, get the word count or print the document with/without hidden text. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane-- |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
If the writer is aware of this condition from the start he or she could
create a unique character style to apply to the reference text and perhaps come close to a qualified word count using: Sub ScratchMaco() Dim oWord As Range Dim i As Long i = 0 For Each oWord In ActiveDocument.Range.Words If Not oWord.Style = "Reference" Then If Len(Trim(oWord)) 1 Then i = i + 1 Else If Trim(oWord) Like "[A-Za-z]" Then i = i + 1 End If End If End If Next oWord MsgBox i End Sub "Peter T. Daniels" wrote in message ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Even if the paper is already completed the writer may be able to Find:
\(*\) using a wildcard search and replace with ^& formatted with the unique character style. This would of course require that only references are marked parenthetically in the paper if ReplaceAll were used but even using the selective replace and find next would reduce the tedium significantly. Once properly marked the macro earlier may be a solution. "Greg Maxey" wrote in message ... If the writer is aware of this condition from the start he or she could create a unique character style to apply to the reference text and perhaps come close to a qualified word count using: Sub ScratchMaco() Dim oWord As Range Dim i As Long i = 0 For Each oWord In ActiveDocument.Range.Words If Not oWord.Style = "Reference" Then If Len(Trim(oWord)) 1 Then i = i + 1 Else If Trim(oWord) Like "[A-Za-z]" Then i = i + 1 End If End If End If Next oWord MsgBox i End Sub "Peter T. Daniels" wrote in message ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane |
#10
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Can you exclude things from the word count?
Hi Peter,
In Chicago style, for instance, there can be up to three authors per reference, and if there are more than three you use "et al." Fair enough, but the basic Find code I posted can handle things like that - at most one might need to increase the 10 in {1,10} to, say, 20. The only thing that needs to be watched for is that other, non-reference, bracketed expressions (with commas & 3-digit+ numbers in them) don't inadvertently get processed. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in message ... Depends how precise Leane needs to be -- In Chicago style, for instance, there can be up to three authors per reference, and if there are more than three you use "et al." On Jan 9, 2:05 am, "macropod" wrote: Hi Peter, Don't you get the same effect just by toggling Show/Hide Hidden Text? No. Only changing the print setting affects the word count. You can verify this with a NUMWORDS field. Assuming the references are in a form like (Tinsley, 1965, p15) or (Tinsley, 1965), one could probably use a wildcard Find/Replace to make the references hidden, with- Find: \([!\,]{1,10}\, [0-9]{3}[!\)]{1,}\) Replace: ^& and the replacement text set to hidden. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in ... Don't you get the same effect just by toggling Show/Hide Hidden Text? The problem is still marking all those discontinuous globs of text. On Jan 8, 10:41 pm, "macropod" wrote: Hi Peter, Hidden text *is* counted when the print hidden text option is active. This gives one the ability to mark the references as hidden text and, by toggling between the print/not print hidden text options, get the word count or print the document with/without hidden text. -- Cheers macropod [Microsoft MVP - Word] "Peter T. Daniels" wrote in ... Not without considerable tedium, though it might be possible to create a macro to do this? Using Ctrl-Clicking and dragging, select all but the references (when text is selected, word displays the count of selected text: if not directly in the status bar, then when you click on the count number there); or, format each reference as Hidden text. (Word doesn't count Hidden text.) On Jan 8, 3:03 pm, Leane_88 wrote: Hi, I'm writing an essay in which the tutor would like us to not include the references (Author and Date) within the word count. Is there a way that I can exclude any words within the brackets from the word count as they all have different names etc? Thanks Leane-- |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
exclude words in brackets in word count | Microsoft Word Help | |||
Exclude tables from word count | Microsoft Word Help | |||
Word should let me exclude identified text from the word count | Microsoft Word Help | |||
Word's word count feature should be able to count sentences also | Microsoft Word Help | |||
how to exclude text in tables in word count | Tables |