Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word.Range
Message
De
27/08/2000 22:18:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00409580
Message ID:
00409676
Vues:
49
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform