EXCEL IS NOT DECALRED ERROR

Hello Experts,

i started to get this message

" Excel is not decalred"

where i have noticed thtat
the following lines are no accepted anymore

Imports Microsoft.Office.Core
Imports Microsoft.VisualBasic
Imports excel = Microsoft.Office.Interop.Excel

this used to be a perfect performance App
after reinstalling visual studio this started to appear...

I know I have to add references but in my list there is no Microsoft.Office.Interop.Excel to add to select

yes I do have Microsoft office 2010 licensed installed.

Please your help
Regards
RGuillermoProject ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
Try a repair/reinstall of the office 2010 - that might put things back into place.
0
Fernando SotoRetiredCommented:
Hi rguillermo;

Have you loaded the Microsoft Office Primary Interop Assemblies for the version of office you are targeting? Please see the link Office Primary Interop Assemblies and can be download from here Microsoft Office 2010: Primary Interop Assemblies Redistributable
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RGuillermoProject ManagerAuthor Commented:
thank you !!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.