Office AddIn Office Object Model
model for addin in order to enable this add-in for all application comes with office.
when I try to open in word doc from addin going like this,
Dim wordDoc as new word.application
word.Documents.open pathtodocument
it creates another word instance and open it there whether or not I have document open in the current word. same thing with excel and powerpoint.
for going like this
Dim excelWksht as excel.application
excelWkSht.Workbooks.Open PathToworkbook
will open a workbook in a different excel instance.
how to use this office application model in order for opening
a document in the current application.
Thanks in Avanced
Shin

