Used Imports Microsoft.Office.Core, but now that we are on Office 2007, what do I use

Friends,

I used to have routines to create a spreadsheet, and it all worked in Office 2007.  Our work has upgraded to Office 2007, and Now I get the error:

Warning      2      Cannot find wrapper assembly for type library "Microsoft.Office.Core"

What do I reference now, and what is the new imports statement?

Best Regards,
Eric
indy500fanAsked:
Who is Participating?
 
RamanaChoudaryCommented:
can you see Microsoft.Office.Interop.Excel reference in u r reference list?
0
 
RamanaChoudaryCommented:
Microsoft.Office.Interop.Excel
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
indy500fanAuthor Commented:
Ramana,

I had this running with the 2003 assymblies; however since 2003 was uninstalled (part of a corporate install), I don't have the assymblies anymore.

I meant to have this in the vb.net area.  sorry.
0
 
RamanaChoudaryCommented:
you said  upgraded to Office 2007 right?
0
 
indy500fanAuthor Commented:
I may have said upgrade, but unfortunately, my corporate install (automated) uninstalled 2003 and then installed 2007.  Is it no longer possible to do this in 2007.  Do they not have the core components with 2007?

Eric
0
 
nkhelashviliCommented:
You must  update references. From references, remove old and add the new one
0
 
indy500fanAuthor Commented:
Okay, I understand that, but can anyone tell me what I now need to reference?
0
 
nkhelashviliCommented:
You must reference assembly with same name,  but of version office 2007 (think it`s  13.0 )
0
 
indy500fanAuthor Commented:
I could not find the .Core assymbly; however, it apparently is not needed.  When I pointed to the updated Interop for Excel as RamanaChoudary suggested, it worked.

Thanks,
Eric
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.