I am wondering if it is possible to link an OLE object to a specific range in a word document.
The OLE object will show the top of the document (using .SourceDoc), but I want to be able to display another location further down the document.
For example, I want the OLE object to show me the contents of the 3rd table, 1st Row, 1st Cell.
The MS website appears to show how it might work with excel - according to the MS website:
Code:' Specify source file. OLE1.SourceDoc = "C:\Excel\Oletext.xls" ' Specify data to create link to. OLE1.SourceItem = "R1C1:R5C5"
Following this idea my first effort was:
And then I came to the conclusion that I had zero idea about how to approach the problem. So I'm wondering if anybody out there has a thought.Code:Dim WrdTbl As Word.Table Set WrdTbl = ActiveDocument.Tables(3) With Forms!Form1.OLETest .SourceItem = WrdTbl.Rows(1).Cells(1).Range End With
Cheers