为什么我的OFFICE2002安装目录找不着excel.olb ?这样如何来操作excel2002?谁有同样的经历或是解决方法?

解决方案 »

  1.   

    http://support.microsoft.com/default.aspx?scid=kb;en-us;186122How to use MFC to automate Excel 2000 and Excel 2002 and obtain an array from a range in Excel 2000 and Excel 2002这是MSDN上面讲的Excel2002是Excel.olb,我就是奇怪怎么也找不着这个文件!
      

  2.   

    没有人用office2002吗?为什么这样的贴子都没人要分呢?
      

  3.   

    看看它里面提到的
    178749 (http://support.microsoft.com/kb/178749/EN-US/)How To Create Automation Project Using MFC and a Type Library9. Select the Automation tab. Click Add Class and choose "From a type library." Navigate to select the object library for the application you wish to automate (for this example, if you are automating Excel 97, choose the Microsoft Excel 8.0 Object Library; the default location is C:\Program Files\Microsoft Office\Office\Excel8.olb).  这些Office类库不是MFC提供的,而是Office提供的。
      

  4.   

    to Mackz(在相互) 
    :Excel97的类库是Excel8.olb,Excel2000的类库是Excel9.olb
    而Excel2002的类库在我上面提到的这篇文件里指的是Excel.olb
    但是我现在就是找不着这个类库文件...
      

  5.   

    to goodboyws(深夜不眠者):
    谢谢,我怎么没想到呢?