ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need a word-count macro for excel (https://www.excelbanter.com/excel-discussion-misc-queries/77468-need-word-count-macro-excel.html)

Jack Crane

Need a word-count macro for excel
 
A friend needs to find the total of all the words in an excel document. Is
there a macro around somewhere that does this?

Thanks,

Jack Crane

Dave O

Need a word-count macro for excel
 
As an alternative, is it feasible to copy the Excel document, paste it
into Notepad (to clear formatting etc), the copy it again and paste it
into Word? That would give a word count, but a number such as "30" is
considered a word, just FYI.


Dave Peterson

Need a word-count macro for excel
 
Chip Pearson has one:
http://cpearson.com/excel/WordCount.htm

But it will depend on how you define word.

Jack Crane wrote:

A friend needs to find the total of all the words in an excel document. Is
there a macro around somewhere that does this?

Thanks,

Jack Crane


--

Dave Peterson

Jack Crane

Need a word-count macro for excel
 
Dave Peterson wrote in news:441855D7.6BB79482
@verizonXSPAM.net:

But it will depend on how you define word.


My friend often uses the macro in Word to get a word count in a Word
document. So he would define a word as one countable as 1 by Word.

Jack


Dave Peterson

Need a word-count macro for excel
 
Then he may be happy with that code.

Jack Crane wrote:

Dave Peterson wrote in news:441855D7.6BB79482
@verizonXSPAM.net:

But it will depend on how you define word.


My friend often uses the macro in Word to get a word count in a Word
document. So he would define a word as one countable as 1 by Word.

Jack


--

Dave Peterson


All times are GMT +1. The time now is 11:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com