ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Showing Excel within the MFC application (https://www.excelbanter.com/excel-programming/359350-showing-excel-within-mfc-application.html)

Eyal[_2_]

Showing Excel within the MFC application
 
Im automating an Excel application via a certain C++ program. I was able to
open an excel instance as a stand alone instance. I would like
however to show the excel sheet/workbook/data within the context of my C++
application, somehow to make the excel sheet "seen" inside
my MFC window. This will give the user the ability to see the data changes
in my MFC program and in the same time (on the same window)
see the data changes in excel (without having to switch between the two apps
using Alt+Tab)


Thanks in advance,
Eyal

NickHK

Showing Excel within the MFC application
 
Eyal,
Here's the VB to do it:
http://abstractvb.com/code.asp?A=959

NickHK

"Eyal" wrote in message
...
Im automating an Excel application via a certain C++ program. I was able

to
open an excel instance as a stand alone instance. I would like
however to show the excel sheet/workbook/data within the context of my C++
application, somehow to make the excel sheet "seen" inside
my MFC window. This will give the user the ability to see the data changes
in my MFC program and in the same time (on the same window)
see the data changes in excel (without having to switch between the two

apps
using Alt+Tab)


Thanks in advance,
Eyal





All times are GMT +1. The time now is 10:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com