Line Wrap Macro - How To Do It?

G

Guest

First let me say that I have no idea if it's possible to do what I want to
do. I have text in one document that I am moving to a document which is not
in a Word format. This is a part of front-end data-loading (cut and paste)
actually for an AS/400 application. Basically, what I'm doing now is cutting
the Word verbiage, pasting into my application's input window and then
placing my cursor near the end of the field (at the end of a word of course)
and hitting enter. I then hit "space" seven times to line up the new line of
text with the one above it. I go to the end of the field, place cursor, hit
enter, 7 spaces....etc.

Would it be possible to write a macro in Word that (I'm not sure how to
phrase it) goes to a "range" of positions relative to the cursor's starting
point at the time the macro is run, then looks for a space, places the cursor
and activates the enter key? Essentially duplicating what I have described
above....
 
J

Jezebel

A simpler way to do this would be to format the document in Word the way you
want it to look (ie by using a fixed pitch font and setting the indent and
margins) then save as a text file. Then you should be able to cut and paste
directly from that into your target application without needing any further
editing at all.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top