Results 1 to 4 of 4

Thread: automating word-count in word

  1. #1
    www.5lab.co.uk
    Join Date
    Sep 2003
    Posts
    6,406
    Thanks
    1
    Thanked
    0 times in 0 posts

    automating word-count in word

    lo guys - is there any way in which i can automate word count feature in word? i have the word ount toolbar up, but i have to click the button each time i want to update it - can i trigger something to go off on a hit of the spacebar? i can work out the code for makeing the count refresh, just not for making it trigger..

    ta
    hughlunnon@yahoo.com | I have sigs turned off..

  2. #2
    Member
    Join Date
    Jul 2003
    Posts
    57
    Thanks
    0
    Thanked
    0 times in 0 posts
    edit: ignore me thinking of excel

  3. #3
    sdl
    sdl is offline
    Registered+
    Join Date
    Aug 2005
    Posts
    27
    Thanks
    0
    Thanked
    0 times in 0 posts
    Create your macro - edit and paste this :

    Selection.WholeStory
    MsgBox "The selection contains " & Selection.Words.Count & " words"

    Doesn't use the word count toolbar but don't see that as problem.

    Syntax stolen from here .

  4. #4
    sdl
    sdl is offline
    Registered+
    Join Date
    Aug 2005
    Posts
    27
    Thanks
    0
    Thanked
    0 times in 0 posts
    After reading the post again I don't think that answers your question.

    Pressing ALT-c updates the word count toolbar counter though - but u probably already knew that.

    EDIT - this is an alternative of getting a live word count.

    I had to paste the code into the VBA editor - exit Word and restart before it worked.
    Last edited by sdl; 17-08-2005 at 11:17 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ban the word "ruddy"?
    By dkmech in forum General Discussion
    Replies: 11
    Last Post: 19-10-2004, 09:09 AM
  2. word file merge?
    By m0dm0 in forum Software
    Replies: 1
    Last Post: 27-09-2004, 11:48 PM
  3. Makaton and Microsoft Word
    By ERU in forum Software
    Replies: 0
    Last Post: 17-05-2004, 11:16 PM
  4. English Slang Terms Explained.
    By Stewart in forum General Discussion
    Replies: 22
    Last Post: 22-12-2003, 02:08 PM
  5. The Christmas Insanity has begun!
    By Nick in forum General Discussion
    Replies: 37
    Last Post: 16-12-2003, 10:22 AM

Posting Permissions

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