There are similar questions and answer on the forum as I have. However what I want to know is:
I have the folder with files in different formts: .pdf, .doc, .xls
I want to convert all .doc and .xls into the .pdf and save on the same folder.
I have already managed with .doc as there is a special activity for this “Export to PDF”
I have a problem with .xls any suggestions/advises?
Because that package is community package and not one that is offered by UiPath - if you know how to write your own Activities, .NET offers a method to convert Excel to PDF, I would suggest writing your own VS downloading from community due to upgrade compatibility.
Now I see the case…
I’m not that advance to write my own activity, maybe I should… @aditya.prakash is that mean you wrote this activity by your own?
What should be done to have the access to Community Packages?
Hi @Alex_Cross, I’m not sure if this workaround idea will be the best for my case. However if you can share the example of your solution would be great.
THX
Hopefully this makes sense, it’s annotated in places, and actions are renamed, but let me know. Basically it will save the file to a PDF, and check that the file has been created in the directory as desired. It will also check if the file exists and overwrite, creating a log message letting you know it has done so. Also, the file I’m printing to PDF started on page 2, if you want the whole doc printing you should set the in_argument for in_PrintFrom to 1.
I must say, I do like your hotkey approach, not sure it would have worked for me as I needed to be more specific (ie print from page 2 etc) but otherwise yes.
I had a previous invoke open the file and perform an action, so my component is only for printing to PDF then closing the file.