The type or namespace name 'Excel' could not be found

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,

I am trying to create a simple program that will open an excel worksheet and do some comparisons.

I can not seem to get VS to recognize Excel. I have added the Microsoft Excel 11 object library as a reference. I have also tried "using Excel". Everytime I put Excel in the code I get an unrecognized namespace error (Note: if I put using Excel in the code, the first compile error is at the using statement - not later in the code).

Am I missing a step?

Thanks
Wade.


View the full article
 
Back
Top