We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

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

indy500fan
indy500fan asked
on
Medium Priority
537 Views
Last Modified: 2012-05-06
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
Comment
Watch Question

Microsoft.Office.Interop.Excel

Author

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.
you said  upgraded to Office 2007 right?

Author

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
CERTIFIED EXPERT

Commented:
You must  update references. From references, remove old and add the new one

Author

Commented:
Okay, I understand that, but can anyone tell me what I now need to reference?
can you see Microsoft.Office.Interop.Excel reference in u r reference list?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT

Commented:
You must reference assembly with same name,  but of version office 2007 (think it`s  13.0 )

Author

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
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.