Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP form & Microsoft Word
Message
From
22/11/2001 14:24:42
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
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:
00584969
Views:
41
This message has been marked as the solution to the initial question of the thread.
Hans ignore the bold line
>Hi Hans yes you can please try the following:
>
>loword = CREATEOBJECT('word.application')
<b>loword.Documents.new</b>
>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