for excel automation
-
Hello, In the samples given on microsoft support (Q178749: HOWTO Create automation project using MFC and a type library) we have to select Microsoft Excel 8.0 Object Library if we use excel automation. But what could i do if i have office XP on my workstation? thanks in advance gerald
-
Hello, In the samples given on microsoft support (Q178749: HOWTO Create automation project using MFC and a type library) we have to select Microsoft Excel 8.0 Object Library if we use excel automation. But what could i do if i have office XP on my workstation? thanks in advance gerald
I assume you are using VC7 to import library (Excel in your case) #import "libid:\<>" if you want to be more specific with the version #import "libid:\<>" version("x.x") From what I saw MSOffice libraries are backward compatible so it should work, even though by rules of COM major version change should be treated as separate library.
-
Hello, In the samples given on microsoft support (Q178749: HOWTO Create automation project using MFC and a type library) we have to select Microsoft Excel 8.0 Object Library if we use excel automation. But what could i do if i have office XP on my workstation? thanks in advance gerald
-
I assume you are using VC7 to import library (Excel in your case) #import "libid:\<>" if you want to be more specific with the version #import "libid:\<>" version("x.x") From what I saw MSOffice libraries are backward compatible so it should work, even though by rules of COM major version change should be treated as separate library.
no i use VC++ 6.0
-
no i use VC++ 6.0