Information générale
Catégorie:
COM/DCOM et OLE Automation
the reason I was using getobject() first was I was getting an error message if word was already open and I tried to use createobject(). basically, I do the following
oword=getobject(,"word.application")
if type("oword") # "O" or type("oword.name") # C
oword = createobject("word.application")
endif
I will check out the other posts about not using getobject()
Précédent
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