I am using .NET Framework 3.5.
The target program uses Microsoft.Interop.Excel.dll to convert the Html format file to an Xls format file, but the target customer environment still has Excel installed, but it may be restricted or the dll does not call Excel.
It behaves as if Excel is not installed.
Currently, the above investigation is difficult, so we are investigating how to convert Html to xls without using the Excel function installed in the operating environment using the above dll. Do you know any samples?
It is possible to do the following without using a program using Excel, but I would like to use a third-party program such as NPOI to print xls without Excel installed.Until html can be generated, it can be verified in the target customer environment.
If you have a sample code, could you please let me know?It doesn't have to be NPOI.excel
You can try this product by converting html to xls.
There is a free version.
Here's the code.
© 2022 OneMinuteCode. All rights reserved.