Search for a specific term in all story ranges of the currentlyselected section

Discussion in 'Word Programming' started by AndreasHermle, Mar 28, 2011.

  1. Dear Experts:

    I would like to search for the following term in All story ranges of
    the CURRENTLY selected section (the cursor where the cursor currently
    resides in)
    -----------------------------------
    ..MatchWildcards = True
    ..Text = "[0-9]{2}\-[0-9]{3}\-[0-9]{2}\-[0-9]{2}"
    ----------------------------------------------------------------

    If this term is found for the first time, it is to be copied into the
    clipboard and the macro is to exit

    Thank you very much in advance for your professional help.

    Regards, Andreas
     
    AndreasHermle, Mar 28, 2011
    #1
    1. Advertisements

Ask a Question

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.