Asterisks

Discussion in 'Word Programming' started by S M, Feb 26, 2012.

  1. S M

    S M Guest

    Does anyone know how to write a macro that selects text with an
    asterisk in front of it?

    I get periodic updates from several users and the text will be like
    this:

    *ITEM ONE* blahblahblahblah *ITEM TWO* blahblahblahblah *ITEM THREE*
    blahblahblahblah


    If I wanted to write a macro that put a carriage return (^P) before
    the asterisk before "ITEM", what would I need to do? I would like
    them to be more easily readable, like this:

    *ITEM ONE* blahblahblahblah
    *ITEM TWO* blahblahblahblah
    *ITEM THREE* blahblahblahblah
     
    S M, Feb 26, 2012
    #1
    1. Advertisements

  2. S M

    macropod

    Joined:
    Mar 2, 2012
    Messages:
    134
    Likes Received:
    9
    Is the 'ITEM' word always present?
     
    macropod, Mar 2, 2012
    #2
    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.