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?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kph
    Replies:
    0
    Views:
    125
  2. Bob Reynolds

    vba to copy several different tables into a document

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

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

    Copy and paste events

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

    programatically creating a copy of current document

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

    How to copy worksheet under Word bookmark

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

    Find Result Copy And Paste

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