Cannot convert applicationObject to 'Interface Application'

F

Franck

Hi
Just tryin to Cast the Excel Application which launched my addin like
this :

dim oExcel as Excel.Application
oExcel = CType(applicationOject, Excel.Application)

This code does not crash but if I break and watch the Ctype action
result, I can read : Cannot convert to 'Interface Application'

Does someone has a solution ?

Thks for help.
 
Top