Results 1 to 8 of 8

Thread: ** Resolved ** Word 2000 VBA Word Count Question

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2000
    Location
    Edgerton, WI
    Posts
    381

    Resolved ** Resolved ** Word 2000 VBA Word Count Question

    When I prepare my weekly sermon, I usually manuscipt my notes and use them as a general guide for what I intend to speak about. Helps me keep focused and on time. Usually when I step into the pulpit, after announcing the message title, I usually announce the key word or phrase to watch for and count during the course of the message. This is primarily for the children and youth but I've found that many of the adults come up after church and say something like, "Pastor, I think you used the word 'justified' about 19 times in your message."

    What I'd like to be able to do is write some VBA code that when executed would popup a message box that would prompt me to enter a key word of phrase to be counted and upon entering it and pressing ok, it would proceed to count the number of instances the key word or phrase is used in the document.

    I would like to be able, if possible to launch this VBA code from a button on a toolbar if possible. I am assuming this code would need to be in the Normal.dot templete so that the VBA code code be used with any document I create.

    I've done a little VB6 prgramming of database applications for my church and office but no real VBA programming in Word.

    Any help with examples would be greaty apprciated.

    Thanks,
    Pastor Mike
    Last edited by Rev. Michael L. Burns; Apr 15th, 2005 at 11:33 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
  •  



Click Here to Expand Forum to Full Width