Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do i need to have office installed to use Microsoft.Office.Interop.Excel.dll

I'm trying to develop a new app to process excel files.As far as i know -in order to use the Built in Excel Manipulation functionality i need to have Microsoft Office installed (i'm i right)?

Or can i just download the dll Microsoft.Office.Interop.Excel.dll,add a reference and make the solution work on every machine?

like image 309
techno Avatar asked Jul 05 '17 03:07

techno


People also ask

Is it necessary to have Microsoft Office interop DLL loaded for Excel?

Is it necessary to have Microsoft.Office.Interop.Excel.dll loaded for the printed reports using Excel to work? If you use the Microsoft.Office.Interop.Excel.dll to read the excel, then this dll is needed. You can also include the dll when you compile the app, try static compilation, when the program is compiled, the dll will be linked to the

Do I need to have Microsoft Office installed to use Excel?

You must have it installed, or it plain would not work. The code you write simply controls Excel via COM, it is not Office, or Excel. Please Sign up or sign in to vote.

Is there an Interop Assembly for Excel com?

Yes - the interop assemblies just tell .NET how to call the Excel COM libraries. They don't have any functionality. Another popular one for reading/writing .xlsx files: closedxml.codeplex.com Thanks. I will try these libs.

How do I install Microsoft Office Insider on Windows devices?

If you already use Microsoft Endpoint Configuration Manager (current branch) to deploy software in your organization, you can use it to install Office Insider on Windows devices. You can use Configuration Manager to install Office Insider when you do a new Office installation.


1 Answers

Yes, you are right. You need Excel to be installed to use the Excel Manipulation feature with Microsoft.Office.Interop.Excel.dll.


If you need to edit only .xlsx files, then you can use libraries like EPPlus. These libraries do NOT need Excel to be installed.

like image 181
Dávid Molnár Avatar answered Sep 23 '22 15:09

Dávid Molnár