Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation - Pasting value into word document
Message
From
11/10/2004 13:06:35
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00950390
Message ID:
00950478
Views:
11
>
>ox=CREATEOBJECT("Word.Application")
>lcDocumentText=[ This is a large string value of HTML stuff]
>_ClipText=lcDocumentText
>ox.Documents.Add
>* How to the value of _Cliptext into the word document?
>ox.Print
>
Try:

ox.ActiveDocument.Range().InsertAfter(_cliptext)

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform