General information
Category:
COM/DCOM and OLE Automation
odocument.selection.wholestory
... still getting that same error that selection doesn't evaluate to an object trying to use this methodology. Am I not
setting this up right?
I think I'm getting some notion as to why the whole thing with the range doesn't play. In stating that the following are e
equivalent:
oRange=oWord.ActiveDocument.Range()
oRange=oWord.ActiveDocument.Content
the Granor / Martin OLE book states that these refer to 'a Range that consists of the entire main document (the body of
the document without headers, footers, footnotes and so on).' A later reference essentially tracks this, so that the
somewhat maddening 'and so on' presumably refers to text boxes as well as the headers and footnotes. So, the
question is how to reference it. And, so far, you got me!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only