Jump to content

EPPLUS.dll Question


Recommended Posts

  • 4 months later...

I only can suggest a workaround base on these ideas:

  • Here: https://github.com/dfinke/ImportExcel there's a 'PowerShell Module that wraps the .NET EPPlus DLL (included)'
  • It is easy to generate plain text files from AutoIt (text files with the powershell extension)
  • There's also possible to run Powershell scripts from AutoIt (if powershell is installed, of course)

Let me share a link to another option, a ruby library: https://github.com/randym/axlsx . From author's description 'Axlsx is an Office Open XML Spreadsheet generator for the Ruby programming language'.

I think Axlsx can be automated from AutoIt with the same steps described above.

If i undestood well, a clear difference is that EPPlus can edit existing excel files (templates) and also create new files 'from zero'.

Axlsx library doesn't seems to have the option of editing previous existing files (templates)

Link to comment
Share on other sites

Thanks for the idea, i agree that the OpenOffice UDF could be a better option to generate 'advanced reports' even output as .xlsx or .pdf formats.

 

For more simple tasks, as changing a few values from a template, i think a simple alternative could be replacing text strings in the xml files.

Here there's an example for image paths, but the steps would be similar for strings or numbers (article by Jan Karel Pieterse , updated version available in the author's web  ) .

Related to this, there is a udf for the .odt format in the german forum.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...