Changing word count options

G

Guest

Hi, is there a way to exclude things from a word count? I'd like to leave
EndNote-created references out, but the Word2002 "exclude footnotes/endnotes"
doesn't recognize them. Maybe an option somehow to exclude everything in
parentheses? TIA.
 
D

Daiya Mitchell

Hi, is there a way to exclude things from a word count? I'd like to leave
EndNote-created references out, but the Word2002 "exclude footnotes/endnotes"
doesn't recognize them. Maybe an option somehow to exclude everything in
parentheses? TIA.

When you say EndNote-created references, are you referring to in-text
citations or the bibliography at the end? Do you mean the raw EndNote
fields, or the references after EndNote has formatted them?

Word won't count text formatted as Hidden. A macro could probably hide all
the text between parentheses, which might work, assuming you don't make any
parenthetical comments in the main text. Then you wordcount, then you run a
different macro to unhide the text. (Or use a toggle macro that you can run
twice).
 
G

Guest

Hi again,

I was referring to in text citations, after the raw fields had been
formatted, but I guess they wouldn't necessarily have to be since the field
delimiter (or whatever the proper name for it is - I think it's a square or
brace bracket) is probably more selective to search for than parentheses.
Hadn't thought about making the text hidden - it sounds like something maybe
VB-esque? I'll have a go at it. Thanks for the suggestion - it's offered hope
at least :)
 
S

Suzanne S. Barnhill

No VBA needed to format the text as Hidden; you can do this with Find and
Replace.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
D

Daiya Mitchell

I would say that formatting the raw EndNote fields as Hidden would be
easier, since they are more specific delimiters, < or { or something. But I
never format my EndNote fields until I am ready to send a doc out, and even
then I do it on a copy, because EndNote on the Mac tends to act up. This
approach may not work with your workflow so well--I don't know of any other
approach, though.

To write the necessary Find & Replace, look up wildcards in Help, or see
this link. The UnHide F&R can probably just find all hidden text and format
it not hidden, I should think.
http://www.gmayor.com/replace_using_wildcards.htm

You can turn an F&R operation into a macro so that you don't have to
re-enter all the information every time you do it. For that, see these
links:

Creating a macro with no programming experience using the recorder
http://word.mvps.org/faqs/macrosvba/UsingRecorder.htm

How to assign a Word command or macro to a toolbar or menu
http://word.mvps.org/faqs/customization/AsgnCmdOrMacroToToolbar.htm

DM
 
G

Guest

Wow- thank you so much Daiya and Suzanne. I'm looking at this program I've
been using for goodness knows how long with wide-eyed wonder at the things I
can now make it do. Your suggestions worked beautifully - and my first macro!
<insert childlike giggles of delight>
 
Joined
Jan 9, 2015
Messages
6
Reaction score
0
This can be done with Hidden font.

A VBA tool derived from this technique is available here: ezcite.sourceforge.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top