Numbering words

  • Thread starter Thread starter Guest
  • Start date Start date
You could do it with a macro but what are you trying to accomplish? I doubt
you want a document with a number following each word. Probably a more
elegant macro would be one that would report on the number position of a
selected word when the macro is run.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
It is for a childs school project. Not sure of the intentions but I was asked
to find a solution. The teacher stated he/she wanted every word numbered.

Charles Kenyon said:
You could do it with a macro but what are you trying to accomplish? I doubt
you want a document with a number following each word. Probably a more
elegant macro would be one that would report on the number position of a
selected word when the macro is run.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
For me such a macro would be an hour project. For a vba expert perhaps 5-10
minutes. For a child unfamiliar with programming computers, a lifetime.
Perhaps the teacher simply wants the child to learn numbers.

Word does have a Word Count field that will give you the total number of
word in a document.

I guess one solution would be to create a SEQ field, paste it in front of or
behind each word in the document and then select the document and update the
fields. Don't think I would spend the time, or have my child spend the time
without a better explanation of the reason for the exercise from the
teacher.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

Millette said:
It is for a childs school project. Not sure of the intentions but I was
asked
to find a solution. The teacher stated he/she wanted every word numbered.
 
This could be automated by copying the SEQ field and then using Find and
Replace to replace each space with a space followed (or preceded) by ^c
(Clipboard contents).

A more roundabout way would be to replace spaces with paragraph
marks, autonumber the paragraphs (using a numbering style that did not
include any punctuation), convert the numbers to text, then replace
paragraph marks with spaces. If the original text contained more than one
paragraph, it would be useful to convert the paragraph marks to something
distinctive first so that the original paragraph breaks could be restored.

--
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.
 
We are going to ask the teacher what the reasons for this excercise. Thank
you for the answers.
 

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

Back
Top