If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Visual Basic Macro in Word 2000

Help me please!!!

I have a customer that used to have a search function in MS Word 2000 that allowed him to search the entire document for select words, and then it would highlight those words as it found them. However, a "computer guru" in the office decided to upgrade the computer and WIPE the entire hard drive thus deleting the macro/vba script - whatever it was - and now the customer wants this function back. I am a complete stranger to the programming world and I have to recreate this macro. I know that in MS Office, macros are created with Visual Basic for Applications. I have recorded a macro that finds onc instance of the word and higlights it. I need to loop this until it has found and highlighted all the words or text that I have preselected, then moving on to the next word. Here is a copy of the code that I have (genereated by the macro recorder). If anyone can offer pointers on how to loop this please let me know. Thanks.