C
Christoffer Bergman
I have seen this question in other posts on this group, but I haven't been
able to find an answer.
I am using automation to control Excel as described in many technical
articles on MSDN (e.g. 178749, 186122, 192348, and 308292), but all those
articles opens Excel in a new Window (as if you would have started Excel
yourself from the Start-menu).
I want to open Excel in my own window within my own application, as Internet
Explorer does if you browse to an Excel document from within that application.
I know that this is possible, but I cannot find any clue to how to do it
anywhere, can someone please help me.
I am using Visual C++ 6.0 and MFC 4.2. My project is created as MFC
AppWizard (exe) created as "Dialog based". I have imported the Excel 2002
type library and I have created and instance of the _Application class and I
am able to use the _Workbook and other objects within the type library. Now I
just want to do it within my own window.
Thanks
/Christoffer
able to find an answer.
I am using automation to control Excel as described in many technical
articles on MSDN (e.g. 178749, 186122, 192348, and 308292), but all those
articles opens Excel in a new Window (as if you would have started Excel
yourself from the Start-menu).
I want to open Excel in my own window within my own application, as Internet
Explorer does if you browse to an Excel document from within that application.
I know that this is possible, but I cannot find any clue to how to do it
anywhere, can someone please help me.
I am using Visual C++ 6.0 and MFC 4.2. My project is created as MFC
AppWizard (exe) created as "Dialog based". I have imported the Excel 2002
type library and I have created and instance of the _Application class and I
am able to use the _Workbook and other objects within the type library. Now I
just want to do it within my own window.
Thanks
/Christoffer