Answer the question
In order to leave comments, you need to log in
Array of MS Word document fragments?
doing so
Dim MyDataObj(2) As Object<br/>
Set actDoc = ActiveWindow<br/>
Set ddc2 = Documents.Open("C:\1.doc") ', Visible:=False<br/>
Set secDoc = ddc2.ActiveWindow<br/>
secDoc.Selection.GoTo What:=wdGoToBookmark, Name:="fakt5"<br/>
Set MyDataObj(0) = secDoc.Selection<br/>
secDoc.Selection.GoTo What:=wdGoToBookmark, Name:="fakt6"<br/>
Set MyDataObj(1) = secDoc.Selection<br/>
actDoc.Activate<br/>
actDoc.Selection = MyDataObj(1)<br/>
ddc2.Close
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question