I am trying to use Visual C++ 5.0 to create an automation controller for Microsoft Excel. The code that I have is API based some using MFC would be difficult at best. While poking through the Visual C++ help files, I came across the #import directive, and was excited to see that this compiler directive would generate wrapper classes for me based on a type library file. When I added "#import ..\excel8.olb" and tried to compile I got and undeclared identifier on MsoRGBType. My guess is that I need to #import another file before excel8.olb. Is this correct and if so which file is it?