Looking for Word/Excel Object model doc
-
Hi guys, I am developing an app that will have an automated Excel object embedded. I am doing it by using typelib Wizard to include Excel Object Model classese and access its methods. As I am new to this, I was hoping to find some documentations about the classes. Unfortunately, I couldn't find any useful information for my own use, except the MSDN site which describes only some of the methods with VB and C# examples (no C++/MFC). Does anyone know where I will be able to find more references to the Office Object Model? Thanks alot~
-
Hi guys, I am developing an app that will have an automated Excel object embedded. I am doing it by using typelib Wizard to include Excel Object Model classese and access its methods. As I am new to this, I was hoping to find some documentations about the classes. Unfortunately, I couldn't find any useful information for my own use, except the MSDN site which describes only some of the methods with VB and C# examples (no C++/MFC). Does anyone know where I will be able to find more references to the Office Object Model? Thanks alot~
-
Google turns up a nice pile of results for "Office Object Model"... Nothing good there?
You must be careful in the forest Broken glass and rusty nails If you're to bring back something for us I have bullets for sale...
Thanks alot Shog, it does provide much more useful information for me :) Further advancing to the topic, I start creating and formatting Excel sheet by following How to use MFC to automate Excel and create and format a new workbook[^] example. Most parts are very easy to follow except that I can't seem to find the OLE-specific CFont0 class as stated. Adding
#include "cfont0.h"
to my main .cpp file would just return fatal error C1083: Cannot open include file: 'CFont0.h': No such file or directory Any help would be great, Thanks -
Thanks alot Shog, it does provide much more useful information for me :) Further advancing to the topic, I start creating and formatting Excel sheet by following How to use MFC to automate Excel and create and format a new workbook[^] example. Most parts are very easy to follow except that I can't seem to find the OLE-specific CFont0 class as stated. Adding
#include "cfont0.h"
to my main .cpp file would just return fatal error C1083: Cannot open include file: 'CFont0.h': No such file or directory Any help would be great, ThanksLooks like something generated from one of typelib - if you've process all the Office typelibs, then it's prolly around somewhere (might have a different name though).
You must be careful in the forest Broken glass and rusty nails If you're to bring back something for us I have bullets for sale...