Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word.Range
Message
From
27/08/2000 22:18:10
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00409580
Message ID:
00409676
Views:
45
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
Map
View

Click here to load this message in the networking platform