Loop paste macro in Word

February 21, 2011 at 09:01:18
Specs: Windows XP
hi, I'm new to macros in Microsoft office, and I would like to ask if it's possible to loop this macro:

Selection.TypeText Text:=" "
Selection.PasteAndFormat (wdPasteDefault)
Selection.MoveDown Unit:=wdLine, Count:=1

it should paste text at the end of the line, and move to the end of the next one.
I would like it to finish when it reaches empty space before next line....

for example, I have something like this

text1(it should paste here, and move down)


it should stop between text1 and text2
Its urgent, I would appretiate any help

See More: Loop paste macro in Word

February 21, 2011 at 10:25:40
There's not too many (none?) Word macro gurus hanging around in this forum.

You might want to try elsewhere.

Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

Report •
Related Solutions

Ask Question