View Single Post
  #10   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default 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--