I'm wanting to copy and paste a selection of text, between bookmark A and bookmark B, from external doc to the active document bookmark C.

I'm more of a beginner than a beginner and just teaching myself as I go but I can't seem to work this one out. Below is the code I've got that doesn't seem to be working


  • I don't know how to differentiate and set the separate ranges.
  • I don't know the coding to reference each range when copying and pasting


Some help would be greatly appreciated.

Sub Test()


Dim docA As Document
Dim docB As Document
Dim Range As Bookmarks
Dim aRange As Range
Dim bRange As Range


Set docA = ActiveDocument
Set docB = Documents.Open("Z:\xxx.doc")


Set aRange =
Set rngStart = docB.Bookmarks("Demo").Range
Set rngEnd = docB.Bookmarks("EndDemo").Range


Set bRange = docA.Bookmarks("PasteDemo").Range


docB.Range.Copy
docA.Range.Paste


End Sub