Click to See Complete Forum and Search --> : where is excel9.h


young1
November 2nd, 2004, 09:21 AM
When I try to embed excel to my application using Visual studio C++.net, I could not find excel9.h file. It looks that studio add many classes from excel when I using add class from typed library. The sample application I am using is from"how to embed and automated a Microsoft Excel worksheet with MFC" http://support.microsoft.com/kb/q184663/?

PLease help me with this excel9.h problem

bdiamond
November 2nd, 2004, 04:43 PM
go to 'Add class' select to add it from a type library, and browse to the excel9.olb. Doing this will create the appropriate .cpp and .h files for you and you can actually see all the methods yourself.