PDA

View Full Version : Solved: Counting number of words with VBA



Emperor
04-06-2010, 12:09 AM
Hello all,

I've got a question, I wrote a document of about 20 pages with texts for a website. Now I would like a table at the start of the document in which the number of the words are counted.
So I would like to know, how often is the word "wood" used in my document. And I would like to repeat this for about 20 phrases/words

Is it possible to achieve this with VBA?

Thanks in advance.

Mathijs

macropod
04-06-2010, 01:15 AM
Hi Mathijs,

See: http://groups.google.com/group/microsoft.public.word.vba.general/msg/244b0e7e3b956105?hl=en

Emperor
04-06-2010, 02:15 AM
Indeed exactly what I needed, thnx a lot!