Problem using Excel automation object after installing Office SP2

M

mward

I just upgraded my Office 2003 to SP2 and am having problems with my
Excel automation code from C#. The version of Excel.exe that I'm now
using is 11.0.8033.0.

It appears as though the object model has changed and I'm now getting
errors such as:
'Excel.Application' does not contain a definition for 'Visible'
I'm getting similar errors with every call I'm making to the object.


I've tried creating the objects with type Excel.Application and
Excel.ApplicationClass.


Has anyone else had this problem and if so how did you fix it?


Thanks.
 
C

Cindy M.

I just upgraded my Office 2003 to SP2 and am having problems with my
Excel automation code from C#. The version of Excel.exe that I'm now
using is 11.0.8033.0.

It appears as though the object model has changed and I'm now getting
errors such as:
'Excel.Application' does not contain a definition for 'Visible'
I'm getting similar errors with every call I'm making to the object.

I've tried creating the objects with type Excel.Application and
Excel.ApplicationClass.

Has anyone else had this problem and if so how did you fix it?
There were definitely problems with SP2, and a number of updates and
hotfixes have been released. Are you sure you've installed all of them?
See for example:
http://www.microsoft.com/downloads/details.aspx?familyid=1B0BFB35-C252-
43CC-8A2A-6A64D6AC4670&displaylang=en

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top