I'm trying to write a macro to break up a long list of addresses for someone. Basically, the macro needs to add a blank line after every three lines AND repeat this procedure for the entire document. I have gotten the initial action to work, but I can't figure out how to get it to repeat and stop at the end of the document. I've searched online and keep finding while loops that only apply to situations in Excel. I'm not sure how to specify when the loop should end in Word.
Here is what I have right now:
Sub AddFix ()
Do
Selection.MoveDown Unit:= wdline, Count:= 3
Selection.InsertParagraph
Loop Until (Selection.End = ActiveDocument.Content.End - 1)
EndSub
How do I get this sub to work through the whole document?
For x = 1 to Count of Lines CODE Next x
– Chrismas007