Microsoft Office Interop Excel Download

Microsoft Office Interop Excel Download Rating: 8,6/10 6782 reviews

I need to develop an application which will has the capability to send emails using C# with visual studio. The app will be able to use templates for mail, and a lot of things, but I have a problem.

The Microsoft Office 2010 Primary Interop Assemblies (PIA) Redistributable is a Microsoft Windows Installer package that contains the Primary Interop Assemblies for Microsoft Office 2010 products.

I cannot find any Office.Interop references when I try to add them, which is mean I cannot work with Outlook. Office is installed on my computer, but i also try to install the PIA from this link http://www.microsoft.com/en-us/download/details.aspx?id=3508 but it didn't change anything (when I launch the MSI it stops without a word, I don't know if it's part of the problem).

I use VS 2013 express is it part of its limitation?

CDspace

Download microsoft.office.interop.excel.dll Microsoft Office Interop Excel version 11.0.5530.0 32bit. The 2007 Microsoft Office Primary Interop Assemblies (PIA) redistributable is a Microsoft Windows Installer package that contains the Primary Interop Assemblies for 2007 Microsoft Office products. Specifically, the redistributable contains the PIAs for the following products: Microsoft Office Access 2007; Microsoft Office Excel 2007. Feb 12, 2019  There is no need to Download the interop assembly from net. You can Just go to add reference and browse to. C: Program Files Microsoft Office Office12. And Select Excel.exe it will automatically add a reference of the interop. Dotnet add package Microsoft.Office.Interop.Excel --version 15.0.4795.1000 paket add Microsoft.Office.Interop.Excel --version 15.0.4795.1000 The NuGet Team does not provide support for this client.

2,4098 gold badges28 silver badges35 bronze badges
T2oT2o

10 Answers

Look for them under COM when trying to add the references. You should find the reference below, and possibly Microsoft Outlook 15.0 Object Library, if you need that. There are similar libraries for Word, Excel, etc.:

Update: The Object Library should contain the Interop stuff. Try to add this to a source file, and see if it does not find what you need:

KjartanKjartan
13.5k11 gold badges56 silver badges79 bronze badges

If you're using Visual Studio 2015 and you're encountering this problem, you can install MS Office Developer Tools for VS2015 here.

Phileo99Phileo99
4,4301 gold badge37 silver badges50 bronze badges

I forgot to select Microsoft Office Developer Tools for installation initially. In my case Visual Studio Professional 2013 and also 2015.

Matthew LockMicrosoft Office Interop Excel DownloadMatthew Lock
8,3267 gold badges67 silver badges111 bronze badges

With Visual Studio 2015 I have activated it with the following steps.

  1. Programs and Features --> Select Visual Studio > Change
  2. Choose Modify
  3. Windows and Webdevelopment -->Tick 'Microsoft Office Developer Tools'
  4. Start Update

It should work now.

LuckyLikeyLuckyLikey

You can find it at link:

C:WindowsassemblyGAC_MSILMicrosoft.Office.Interop.Word15.0.0.0__71e9bce111e9429cMicrosoft.Office.Interop.Word.dll

Browse it then add references

Tung HaTung Ha

If you have installed latest Visual studio and want to To locate library of Microsoft.Office.Interop.Outlook or any other Microsoft.Office.Interop library then you should look into below 2 folders:

Please note that folder could be C:Program Files

Manos NikolaidisMicrosoft Office Interop Excel Download
15.4k10 gold badges48 silver badges62 bronze badges
AmitAmit

I think you need to run that .msi to install the dlls. After I ran that .msi I can go to (VS 2012) Add References > Assemblies > Extensions and all of the Microsoft.Office.Interop dlls are there.

On my computer the dlls are found in 'c:Program Files(x86)Microsoft Visual Studio 12.0Visual Studio Tools for OfficePIA' so you could check in a similar/equivalent directory on yours just to make sure they're not there?

JD41JD41

You need to install Visual Studio Tools for Office Runtime Redistributable:

OscarOscar
11.2k6 gold badges29 silver badges52 bronze badges

I had the same issue with Visual Studio Community 2013, I fixed it downloading and installing the latest update of Office Developer Tools for Visual Studio 2013. Now I am able to see the whole Microsoft.Office.Interop.* list when I go to

Add References > Assemblies > Extensions

you can download it from here:

https://www.visualstudio.com/en-us/news/vs2013-update4-rtm-vs.aspx#Office
http://aka.ms/OfficeDevToolsForVS2013

Ajay2707
4,5084 gold badges23 silver badges45 bronze badges
joseluisccjoseluiscc

Just doing like @Kjartan.

Steps are as follows:

  1. Right click your C# project name in Visual Studio's 'Solution Explorer';

  2. Then, select 'add -> Reference -> COM -> Type Libraries ' in order;

  3. Find the 'Microsoft Office 16.0 Object Library', and add it to reference (Note: the version number may vary with the OFFICE you have installed);

  4. After doing this, you will see 'Microsoft.Office.Interop.Word' under the 'Reference' item in your project.

    • If the 'Select Language' window appears, select the language you wish to use and click the 'OK' button. • At the 'Select Country' screen, select the country for the installation and click the 'Next' button. • At the 'Welcome to Renesas Electronics USB 3.0 Host Controller Setup Program' window, click the 'Next' button. How do i install sm bus controller driver on vaio windows 7.

Chengshuang LiChengshuang Li

protected by CommunityJan 30 at 9:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged c#.net or ask your own question.

I had developed a system that deals with excel sheets in 2006 using MS VS 2005. Now, I can not use the same reference with MS VS 2012.

abatishchev
71.3k70 gold badges269 silver badges399 bronze badges
Moe_AlMoe_Al

6 Answers

Use NuGet (VS 2013+):

The easiest way in any recent version of Visual Studio is to just use the NuGet package manager. (Even VS2013, with the NuGet Package Manager for Visual Studio 2013 extension.)

Right-click on 'References' and choose 'Manage NuGet Packages..', then just search for Excel.

VS 2012:

Older versions of VS didn't have access to NuGet.

  • Right-click on 'References' and select 'Add Reference'.
  • Select 'Extensions' on the left.
  • Look for Microsoft.Office.Interop.Excel.
    (Note that you can just type 'excel' into the search box in the upper-right corner.)

VS 2008 / 2010:

  • Right-click on 'References' and select 'Add Reference'.
  • Select the '.NET' tab.
  • Look for Microsoft.Office.Interop.Excel.
GrantGrant
56k8 gold badges82 silver badges130 bronze badges

You can also try installing it in Visual Studio via Package Manager.

Run Install-Package Microsoft.Office.Interop.Excel in the Package Console.This will automatically add it as a project reference.

Use is like this:

MJH
2,0876 gold badges13 silver badges20 bronze badges
CYCLONECYCLONE

If you have VS 2013 Express and you cant find Microsoft.Office namespace, try this ('Microsoft Excel 12.0 Object Library' if you want to use Office 2007)

Muflix

Office Primary Interop Assemblies Download

Muflix
1,7386 gold badges31 silver badges80 bronze badges

Building off of Mulfix's answer, if you have Visual Studio Community 2015, try Add Reference.. -> COM -> Type Libraries -> 'Microsoft Excel 15.0 Object Library'.

Daniel.VenezianoDaniel.Veneziano

Instead of early binding the reference, there's an open source project called NetOffice that abstracts this from your project, making life much easier. That way you don't have to rely on your users having a specific version of Office installed.

LawManLawMan

You have to check which version of Excel you are targeting?

If you are targeting Excel 2010 use version 14 (as per Grant's screenshot answer), Excel 2007 use version 12 . You can not support Excel 2003 using vS2012 as they do not have the correct Interop dll installed. Episode choose your story download.

Microsoft.office.interop.excel Download 2003

mas_oz2k1

Microsoft Office Interop Excel Download

mas_oz2k1
2,3321 gold badge28 silver badges38 bronze badges

Office 2010 Primary Interop Assemblies

Not the answer you're looking for? Browse other questions tagged c#excelreferencevisual-studio-2012vsto or ask your own question.