Hi,
With this code, I get into Word form VFP5.0:
oWord=createobject("Word.Basic")
oWord.FileOpen(cFilename)
oWord.AppMaximize
but how can I select and activate a macro to run in Word, without user intervention, i.e. by program code?
Also, how can I put a word document into (linked) to a general field in my VFP database file, without using the manual menu system, i.e. again by perfomring the whole operation by VFP code. I am strong believer in having the program do as much as possible, if possible to render the user an innocent - or impotent bystander.
Rolf
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement