Hi,
The main problem at hand is that I need to create a new document that
contains the current documents data, just in a different page order.
I can copy the needed page and paste it into a new document, but i cannot
find a way to paste it at the end of the document.
Please help:(
Thanks

RE: Reordering a document by Cooz

Cooz
Mon Mar 06 10:00:31 CST 2006

Hi Justin,

I'll provide the VBA since you posted in the Programming section. This macro
copies the current page of the active document:

Sub CopyPage()
ActiveDocument.Bookmarks("\Page").Range.Copy
End Sub

This macro pastes at the end of the active document:
Sub PastePage()
Dim rngCur As Range

With Selection
Set rngCur = .Range
.EndKey Unit:=wdStory
.Paste
End With

rngCur.Select
End Sub

Good luck,
Cooz
--
PS: If this is a satisfying answer to your question and you're logged in via
the Microsoft site, please click Yes to "Did this post answer the question?".
Thanks.

"Justin Hess" wrote:

> Hi,
> The main problem at hand is that I need to create a new document that
> contains the current documents data, just in a different page order.
> I can copy the needed page and paste it into a new document, but i cannot
> find a way to paste it at the end of the document.
> Please help:(
> Thanks