Hi Team,
My requirement is to copy selected pages from a word document to another word document.
I can add multiple pages I need to bookmark. Can I copy all the book marked pages to one new word document .
I have got VBA code to copy selected or bookmarked page to a new word document . But the second time when I try to copy another page , it overwrites the earlier pasted content.
Can u please help me to find a way to copy all my bookmarked pages or required pages to a new word document.
I want the user to be able to select pages and copy to another word document, when users are going through my document.
Please find my code below.
Sub PageCopy()ActiveDocument.Bookmarks("\page").Range.Copy
Documents.Add DocumentType:=wdNewBlankDocument
Selection.PasteAndFormat (wdPasteDefault)
Selection.TypeBackspace
ActiveDocument.SaveAs FileName:="NewDoc.doc"
ActiveWindow.Close
End Sub
Please help
- Edited by NiveaGManohar Monday, February 23, 2015 11:28 AM