Avatar of garyinmiami2003
garyinmiami2003
Flag 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?
Visual Basic.NET

Avatar of undefined
Last Comment
ElrondCT

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ElrondCT

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ElrondCT

Clarification: Although I personally use Office 2007, version 14.0 is Office 2010.
Your help has saved me hundreds of hours of internet surfing.
fblack61