I have problem writing a code to open a word.doc and count the different number of words in the doc. my code is as follows. Can anyone tell me what is the prob?
Please Login or Register to view this content.
I have problem writing a code to open a word.doc and count the different number of words in the doc. my code is as follows. Can anyone tell me what is the prob?
Please Login or Register to view this content.
Last edited by VBA Noob; 11-01-2007 at 03:11 AM.
Hi
See how this goes.
ryloPlease Login or Register to view this content.
Thnks for your help. It worked. Do you mind if u can help me with how can i make all the word in the word.doc file to be tabulated so as to able to know the frequency of evry repeated words? thnks if anyone can help..
Hi
Try this
Something I found out is that the wordcount used this way will include all the punctuation and paragraph marks. It doesn't bring back the same count as the word count from the document itself.Please Login or Register to view this content.
The above script will therefore show some "blank" characters which may be paragraph marks, tabs etc.
HTH
rylo
Thnks you once again for helping me. Your help has been so beneficial and appreciated. Have a nice day
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks