View Single Post
  #5   Report Post  
Graham Mayor
 
Posts: n/a
Default

Nexan wrote:
"Graham Mayor" wrote:

The second part is rather more complicated unless all the lines you
want to move are easily identifiable or you want to swap every three
lines around - See http://www.gmayor.com/replace_using_wildcards.htm


To further clarify what I'm needing to do, the letters in my example
will be wildcards, for the most part. I know how to get the macro to
find the wildcards but not how to cut and past them.

The Help menu seems to suggest using the "Highlight All" option under
Find for such things; however, after I've cut the appropriate text, I
can't get the macro to paste it where it needs to go -- the error
claims that no text has been selected.


If you can identify unique strings for the replace function to select, you
can use round brackets to collect the relative parts of the string and
replace the strings in a different sequence. You don't need to use cut and
paste.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org