Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE to Word (Saving a file)
Message
 
 
To
19/10/1998 15:01:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00148244
Message ID:
00148266
Views:
29
Mike,

Don't keep setting oWord like you did in your post.

oWord = createobject( "word.application" )
oWord.Visible = .t.
oWord.Documents.Open( "theFile" )
oWord.Documents.SaveAs( "TheNewFile" )

Look in the vbawrd8.hlp file, there's also a couple of links on my website to some additional online help for Word automation.

>oWord = CREATEOBJECT("Word.APPLICATION")
>oWord = VISIBLE = .T.
>oWord = DOCUMENTS.OPEN("C:\TEMP\TEST")
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform