+ Reply to Thread
Results 1 to 11 of 11

VBA to Count Words in MS Word Doc and List Down it in excel

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    VBA to Count Words in MS Word Doc and List Down it in excel

    Hi Team,

    What could be done in case where i want to count words of a bunch of document in folder and also required output in excel file.

    I have something that i found from some where.

    Please Login or Register  to view this content.
    This macro runs fine in word givign error in excel
    Last edited by harshadp; 06-18-2013 at 11:41 AM. Reason: Use code tags as per forum rule 3.

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Welcome to the board.

    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    06-17-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Thanks Tinbendr for such quick response. Its working great.

  4. #4
    Registered User
    Join Date
    07-27-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    4

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Thanks Tinbendr.

    The path needs to provided in code, but could you please check if user can select a folder as per requirement?

    Thanks in advance.

  5. #5
    Registered User
    Join Date
    07-27-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    4

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Thanks Tinbendr.

    If a folder contains 90 word files, then the result appears only for 60 files.

    Could you please suggest?

    Thanks in advance.

  6. #6
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    You really should start a new thread and reference this one.

    However, add this:
    Please Login or Register  to view this content.
    Change this
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Probably would be a good idea to test for a empty folder in case the user cancels.

    Sorry, but I don't really know why it's only processing 60 of 90 files.

  7. #7
    Registered User
    Join Date
    07-27-2017
    Location
    India
    MS-Off Ver
    2010
    Posts
    4

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Thanks Tinbendr.

  8. #8
    Registered User
    Join Date
    09-14-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    2

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Hi Tinbendr ,

    Macro working great. can i get no of pages in the word document & No of characters used in the document?

    Regards,

  9. #9
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: VBA to Count Words in MS Word Doc and List Down it in excel


  10. #10
    Registered User
    Join Date
    09-14-2017
    Location
    india
    MS-Off Ver
    2013
    Posts
    2

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    Hello friend,

    can you please give code page count...

  11. #11
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: VBA to Count Words in MS Word Doc and List Down it in excel

    sudarbharath,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1