P
Peter Karlström
Hi
When a user inserts a Word document into Excel using menu Insert - Object
(From file) there is no Word window opened to the user.
This is the standard way.
However, when we are activating my COM Addin in Word, a Word window is
opened, and this is not desired.
I have tried looking at the property ActiveDocument.Container in the
DocumentOpen event of the COM Addin. but this doesn't seem to be the correct
way. It says this is not OLE.....
How can I check where the document is hosted, in order to disable the window
from showing up in this perticular situation?
Thanks in advance
When a user inserts a Word document into Excel using menu Insert - Object
(From file) there is no Word window opened to the user.
This is the standard way.
However, when we are activating my COM Addin in Word, a Word window is
opened, and this is not desired.
I have tried looking at the property ActiveDocument.Container in the
DocumentOpen event of the COM Addin. but this doesn't seem to be the correct
way. It says this is not OLE.....
How can I check where the document is hosted, in order to disable the window
from showing up in this perticular situation?
Thanks in advance