Returns an OLE automation object that models the data in the document. For example, for an editor window, this property with no argument would return a TextBuffer object.
Syntax
Property Get DocumentData([which As String]) As Object
This syntax has these parts:
Part | Description |
which | An optional String indicating the window displaying the data. |