G
Guest
I have a document in which I would like the firs paragraph to be the last, the second to be the second last, etc. Does anyone know how to do this?
Elmsley said:I have a document in which I would like the firs paragraph to be the last, the second to be the second last, etc. Does anyone know how to do this?
paragraph to be the last, the second to be the second-----Original Message-----
I have a document in which I would like the firs
the second to be the second last, etc. Does anyone know how to do this?Elmsley said:I have a document in which I would like the firs paragraph to be the last,
Jay said:I'd be reluctant to charge anyone money for something this simple:
Sub ReverseParas()
Dim docSrc As Document
Dim docDest As Document
Dim rgDest As Range
Dim pSrc As Paragraph
On Error GoTo bye
Set docSrc = ActiveDocument
Set docDest = Documents.Add
Set rgDest = docDest.Range
For Each pSrc In docSrc.Paragraphs
rgDest.Collapse wdCollapseStart
rgDest.FormattedText = pSrc.Range.FormattedText
Next pSrc
docDest.Save
bye:
End Sub