Hi there,
I'm wondering how to make an PDF file from an Excel file. Basically I want to have an existent Excel file from a Folder converted it into a pdf.
Can someone help me out with the code?
Thanks in advance!
Convert Excel file into PDF
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Convert Excel file into PDF
Does your version of Excel let you save to PDF? If so, record a macro inside Excel which does that. Then convert the VBA it produces to VBScript to run inside Macro Scheduler:
http://help.mjtnet.com/article/19-conve ... o-vbscript
Or keep the Excel macro inside Excel and run it with XLRun.
Or just simulate sending the keystrokes to Excel to do a Save As.
http://help.mjtnet.com/article/19-conve ... o-vbscript
Or keep the Excel macro inside Excel and run it with XLRun.
Or just simulate sending the keystrokes to Excel to do a Save As.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Convert Excel file into PDF
XLRun worked for me and the macro inside the Excel.
Thank you!
Thank you!