Xls to Pdf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicstel
    New Member
    • Jun 2008
    • 20

    Xls to Pdf

    I wrote a Piece of code to generate an Excel file. I would like to create a Pdf from this file thru my code. How to handle this? I saw the PHPExcel, but I don`t know how it`s work!

    Thank You

    Nicolas
  • Glenton
    Recognized Expert Contributor
    • Nov 2008
    • 391

    #2
    Even doing this in VBA is a little tricky. I remember getting it right some years back, but I think it involved setting up a script to do some printing.

    Anyhow, here's a potential strategy:

    This link might help. Or maybe try to get it to work manually, and then record the code inside excel.

    Then, once you have it working with excel VBA, you could try the python code here:
    Code to call excel VBA from python

    Good luck!

    Comment

    • nicstel
      New Member
      • Jun 2008
      • 20

      #3
      I thought that it was easier but I finally got it. Thanks for the second Link, it was very helpful.

      Thank You

      Comment

      Working...