Find potential match, copy to list

Discussion in 'Word Programming' started by DogwoodNC, Apr 1, 2011.

  1. DogwoodNC

    DogwoodNC Guest

    Hello all -- I'm looking for help with a macro that does the
    following:
    1) Searches the active document for a specified pre-defined word
    ("word 1")
    2) If found, places the word on a list (either in a separate document,
    on the clipboard, in a pop-up window -- it doesn't really matter
    where, as long as it can be visible/read)
    Note: Only one occurence of each word needs to be listed. If there
    are multiple matches, only the first one needs to be noted.
    3) Searches for another word ("word 2")
    4) If found, adds the word to the list created in step 2
    5) Repeats the process for additional pre-defined words ("word 3"
    through "word 50", for example).

    I don't want to actually change anything in the original document,
    just identify potential matches on one composite list, which then can
    be analyzed further.

    Any suggestions are greatly appreciated -- THANKS!
     
    DogwoodNC, Apr 1, 2011
    #1
    1. Advertisements

  2. DogwoodNC

    DogwoodNC Guest

    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. kph
    Replies:
    0
    Views:
    146
  2. Bob Reynolds

    vba to copy several different tables into a document

    Bob Reynolds, Jan 16, 2004, in forum: Word Programming
    Replies:
    2
    Views:
    136
    Paul Lautman
    Jan 28, 2004
  3. Copy to clipboard

    , Feb 10, 2005, in forum: Word Programming
    Replies:
    2
    Views:
    158
  4. prasanta

    Copy and paste events

    prasanta, Aug 13, 2005, in forum: Word Programming
    Replies:
    0
    Views:
    150
    prasanta
    Aug 13, 2005
  5. Chimanrao

    programatically creating a copy of current document

    Chimanrao, Sep 21, 2005, in forum: Word Programming
    Replies:
    0
    Views:
    113
    Chimanrao
    Sep 21, 2005
  6. Bon

    How to copy worksheet under Word bookmark

    Bon, Dec 14, 2005, in forum: Word Programming
    Replies:
    0
    Views:
    133
  7. Replies:
    1
    Views:
    139
    Jay Freedman
    Aug 28, 2006
  8. jic

    Find Result Copy And Paste

    jic, Jan 27, 2012, in forum: Word Programming
    Replies:
    0
    Views:
    386
Loading...