>Hello,
>
>I have a Word mail merge routine that uses the Createobject function to create a Word Object. The users have Outlook for email which uses Word as the editior. The routine works correctly when outlook is closed, but 2 instances of Word appear when Outlook is open and some of the Word automation commands don't work correctly. Any ideas?
>
>Thanks,
>
>George
Sounds like you're orphaning an existence of Word. Try checking for the object before creating a new one.
if type('oword.name')='U'
oword=createobject('word.application')
endif
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright