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?
 
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
 
AndyAinscowFreelance programmer / ConsultantCommented:
Try a repair/reinstall of the office 2010 - that might put things back into place.
0
 
RGuillermoProject ManagerAuthor Commented:
thank you !!
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.