i have written a vb-program which create word-docs over OLE-automation.
the program works fine. But e.g. when a user open winword, my vb-program get a error.
It looks like as lose my vb-program the focus on the created wordObject.
Rather my vb-program will work on the other open word-session and get a error.
I'am create the word-object as follow:
Public gobjWord As Object
Set gobjWord = CreateObject("Word.Application." + gsWordVersion)
who can help me?