Mobile menu

Pages in topic:   [1 2] >
Word count on MS Word with lots of text boxes
Thread poster: María Teresa Taylor Oliver

María Teresa Taylor Oliver  Identity Verified
Panama
Local time: 04:58
English to Spanish
+ ...
Sep 19, 2003

Hi, first post here

I have this document in MS Word, over 50 pages long, and I can do the word count with the Word Count Tool with no problem, BUT does this tool ALSO count words in text boxes? These are boxes drawn with the text box tool in the Drawing toolbar, and then written on. And my document has LOTS of these boxes!

Any help?

Thanks!
~*MT*~


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 11:58
Member (2003)
Polish to German
+ ...
Word usually does not count words in text boxes Sep 21, 2003

And yet I did not find any workaround for this.
Perhaps savin in text-only format could help - if the text from text boxes is included, than the size of the file in kB gives you the number of characters within. The rest is simply maths.

Kind regards
Jerzy


Direct link Reply with quote
 
Robin Salmon  Identity Verified
Australia
Local time: 19:58
German to English
+ ...
What about Trados? Sep 22, 2003

I currently have the same problem and tried analysing the original Word doc in Trados. I got 2,500 words, compared to the 1,750 in Word.
Can other, more experienced translators confirm the accuracy of this method?


Direct link Reply with quote
 

Narasimhan Raghavan  Identity Verified
Local time: 15:28
English to Tamil
+ ...
Copy pasting the textbox contents in an empty word document Sep 22, 2003

This was what I used to do. But Practicount has made this procedure unnecessary. Remember however one thing. While invoicing, inform the client that the wordcount includes the text boxes too, which are not included in the tools menu of Word, lest he should get back to you for the apparent discrepancy in the wordcount.

Direct link Reply with quote
 
Charlotte Blank  Identity Verified
Local time: 11:58
Czech to German
+ ...
Simply maths? Sep 22, 2003

Jerzy Czopik wrote:

... the size of the file in kB gives you the number of characters within. The rest is simply maths.

Kind regards
Jerzy



Hi Jerzy,

not being much endowed with maths (to tell the truth: not at all), I'd like to ask you: Could you please state how to do this calculation?

Thanks a lot!

Charlotte


Direct link Reply with quote
 

Jerzy Czopik  Identity Verified
Germany
Local time: 11:58
Member (2003)
Polish to German
+ ...
Simple mathematics Sep 22, 2003

What you need are some large files, which you have to analyse in Trados. Then you get a number of characters per word for each file. Build the average of them all. Dividing the number of characters in each file through the number of characters per word will give you the number of word per in your file. That´s all - it is really simple.

HTH
Jerzy


Direct link Reply with quote
 

Andrzej Mierzejewski  Identity Verified
Poland
Local time: 11:58
Polish to English
+ ...
counting words/characters in .doc files Sep 23, 2003

From my experience: you should copy texts from all text fields into the main text - field by field. Then you can have it counted by Word.
That's the only way I know.
File format change for .txt will NOT help.


Direct link Reply with quote
 
Stephen Boyd
Brazil
Local time: 06:58
French to English
+ ...
Macro Sep 23, 2003

I found a way to do this using a very short VBA program (macro). It's on my computer at work. I can post it tomorrow.
Stephen


Direct link Reply with quote
 
Stephen Boyd
Brazil
Local time: 06:58
French to English
+ ...
Word macro Sep 23, 2003

Sub Wordcount()
Dim Wordcount As Long
Wordcount = ActiveDocument.BuiltInDocumentProperties(wdPropertyWords)
For Each ashape In ActiveDocument.Shapes
If ashape.TextFrame.HasText Then
Wordcount = Wordcount + ashape.TextFrame.TextRange.ComputeStatistics(Statistic:=wdStatisticWords)
End If
Next ashape
MsgBox ("The document has " & Wordcount & " words")
End Sub


Direct link Reply with quote
 

Andrzej Mierzejewski  Identity Verified
Poland
Local time: 11:58
Polish to English
+ ...
counting words Sep 25, 2003

this VBA really works!
Good job, sboyd!
Thanks!


Direct link Reply with quote
 
Martina Svehlova Jurikova
Local time: 11:58
English to Slovak
+ ...
Thank you! Sep 25, 2003

I have tried the VBA on some documents and it works.
By the way, does anybody have a similar VBA for character counting?
It would be appreciated beacause of invoicing for standard pages based on fixed number of characters including spaces.

Have a nice day!

Martina


Direct link Reply with quote
 
Stephen Boyd
Brazil
Local time: 06:58
French to English
+ ...
Try this Sep 25, 2003

Glad the last one worked for you.
For characters with spaces, try this:

Sub Charactercount()
Dim Charactercount As Long
Charactercount = ActiveDocument.BuiltInDocumentProperties(wdPropertyCharsWSpaces)
For Each ashape In ActiveDocument.Shapes
If ashape.TextFrame.HasText Then
Charactercount = Charactercount + ashape.TextFrame.TextRange.ComputeStatistics(Statistic:=wdStatisticCharactersWithSpaces)
End If
Next ashape
MsgBox ("The document has " & Charactercount & " characters with spaces")
End Sub


Direct link Reply with quote
 

María Teresa Taylor Oliver  Identity Verified
Panama
Local time: 04:58
English to Spanish
+ ...
TOPIC STARTER
Thanks, but can you explain how to run this macro? Sep 25, 2003

I have no idea how to apply this!

Thanks again!


sboyd wrote:

Sub Wordcount()
Dim Wordcount As Long
Wordcount = ActiveDocument.BuiltInDocumentProperties(wdPropertyWords)
For Each ashape In ActiveDocument.Shapes
If ashape.TextFrame.HasText Then
Wordcount = Wordcount + ashape.TextFrame.TextRange.ComputeStatistics(Statistic:=wdStatisticWords)
End If
Next ashape
MsgBox ("The document has " & Wordcount & " words")
End Sub


Direct link Reply with quote
 
Stephen Boyd
Brazil
Local time: 06:58
French to English
+ ...
A link to explain how to install macros Sep 26, 2003

It's quite hard to explain quickly - here's a useful web page:

http://www.mvps.org/word/FAQs/MacrosVBA/CreateAMacro.htm


Direct link Reply with quote
 

Heinrich Pesch  Identity Verified
Finland
Local time: 12:58
Member (2003)
Finnish to German
+ ...
You saved me 100 euro right away! Sep 29, 2003

Thanks very much for the macros! As it happened I had just such a document at hand. if I had believed Word I would have charged 100 Euro too little.

Direct link Reply with quote
 
Pages in topic:   [1 2] >


To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Maria Castro[Call to this topic]

You can also contact site staff by submitting a support request »

Word count on MS Word with lots of text boxes

Advanced search


Translation news





TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use SDL Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

More info »



All of ProZ.com
  • All of ProZ.com
  • Term search
  • Jobs