Each Sabbath, in an effort to get the children in our church to listen to the sermon I have a key work that is mentioned in the message and the child who comes closest to the correct number of times used gets a reward. This has worked very well. Not only do they count the words, but they are listening and asking questions.

However, I have to manually do a search on the word and count how many times it is used. Is there a way that I can a a button to my toolbar that opens an input box that accepts a word and then searches the currently opened document for the total number of times used. If so, can someone help me or point me in the right direction.

To take it one step further, it would be nice if I could append a line at the end of the document that reads something like this:

Keyword: xxxxx used yyyyy times in this document.

Of course, xxxxx and yyyyy equal the word input into the inputbox and the total number of times used respectively.

Any help would be most welcomed.

Rev. Michael L. Burns