Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Looking for Word/Excel Object model doc

Looking for Word/Excel Object model doc

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharphardwarequestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    J B 0
    wrote on last edited by
    #1

    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~

    S 1 Reply Last reply
    0
    • J J B 0

      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~

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      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...

      J 1 Reply Last reply
      0
      • S Shog9 0

        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...

        J Offline
        J Offline
        J B 0
        wrote on last edited by
        #3

        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

        S 1 Reply Last reply
        0
        • J J B 0

          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

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #4

          Looks 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...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups