I am currently writing an Excel COM addin. It works well with Excel
2003, but somehow fails to load under Excel 2007.Here is the snippet,
extracted from the VS project file.
<ItemGroup
<COMReference Include="Microsoft.Office.Core"
<Guid{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid
<VersionMajor2</VersionMajor
<VersionMinor3</VersionMinor
<Lcid0</Lcid
<WrapperTooltlbimp</WrapperTool
<IsolatedFalse</Isolated
</COMReference
</ItemGroup
Notice that I am using "tlbimp". When, I recompile the project with
'primary', aka
<ItemGroup
<COMReference Include="Microsoft.Office.Core"
<Guid{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid
<VersionMajor2</VersionMajor
<VersionMinor3</VersionMinor
<Lcid0</Lcid
<WrapperToolprimary</WrapperTool
<IsolatedFalse</Isolated
</COMReference
</ItemGroup
It seems to work under Excel 2007.
I am not sure to understand what happens here. Does someone has an
explanation?
Thanks in advance,
Joannès
http://www.lokad.com sales forecasting