Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP form & Microsoft Word
Message
From
22/11/2001 14:23:27
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00584961
Message ID:
00584968
Views:
18
Hi Hans yes you can please try the following:
loword = CREATEOBJECT('word.application')
loword.Documents.new
loword.Documents.Add() && you can also use loword.Documents.open(myfile)
loword.Visible= .t.
loword.Selection.InsertAfter(Thisform.txtMyTextBox.Value)
This will insert the text where the cursor is positioned on the word document.

>Hello,
>
>is it possible to pass the value of a text box on a form on to Microsoft Word ???
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform