I use the Class Wizard to add a new class from the type library located in excel.exe.
MSDN says that Visual Studio is supposed to generate excel.h and excel.cpp, containing all the needed declarations, but it doesn't. Is this a bug? Or maybe it was working for older versions of Visual C...
I don't know how to do this manually (is this what you mean by #import-ing excel.olb?). Can you give me some more hints?