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?
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
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With