
Using a Macro to Cut and Paste
Is there ever anything after the last exclamation point? If the entire line
is cut, are you going to get any extra text? If your answer is yes, is there
either a fixed number of characters to be copied or is there anything
keeping exclamation points from being included it the data or in the area
following the second marker?
Are there always the same number of lines?
What is at the end of each line? You'll need to turn on "Show All" in the
View options to see. It should be either a paragraph mark or a manual line
break. The paragraph mark is a pillcrow (sort of a double backwards P) and
the line break is a bent arrow.
What is at the end of each of the two lines that follow the block you want
to move?
Where is this text coming from?
Answers to the above would help me if I were writing a macro to do what you
want.
--
Charles Kenyon
Word New User FAQ & Web Directory:
<URL: http://www.addbalance.com/word/index.htm>
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://www.addbalance.com/usersguide/index.htm>
See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
Quote:
> Hi All
> Copy of 'square' below, I've had to take out loads of spaces to make
> it fit this page.
> TIA
> Wendy
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> !/01 LINE 1 !
> ! LINE 2 !
> ! D.O.B. 00/00/0000 LINE 3 !
> ! LINE 4 !
> ! (37 spaces to 'line') (24 spaces) !
> ! POSTCODE !
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -