Link to home
Start Free TrialLog in
Avatar of garyinmiami2003
garyinmiami2003Flag for United States of America

asked on

Office Interop.Excel in vb.net app

We are converting to Visual Studio 2012 & MS Office 2010.

I am working on a vb.net app which has the following code:

Dim asm As Reflection.Assembly
asm = [Assembly].Load("Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")


The problem is what do I replace this with?

I found this in the VSTO area in program files folder:

Microsoft.Office.Tools.Excel.dll

I can't just add this as a reference and load this as an assembly without the guid.  So does this have to be installed wher e the app runs to be able to use?  I'm not familiar with the program and was hoping to make only the minimal change and get the program to work as it has.  

My question:  What has to be done to use the 2010 version of the excel interop?
ASKER CERTIFIED SOLUTION
Avatar of ElrondCT
ElrondCT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Clarification: Although I personally use Office 2007, version 14.0 is Office 2010.