Sajin_91
(Sajin Bhaskaran)
July 27, 2019, 8:17am
1
Hi,
Iam trying to convert and Excel file to PDF format by using an “Excel to PDF” activity
I had given the souce path and destination path.
but an error is howing while running, Ian attaching the screen shot of the error for your reference.
Please help to find out a solution to this
Fine
–this can be handled in many ways, hope this could help you resolve this
Kindly check you have the below assembly in your xaml, if not add it manually and restart your project and try again.
–For that open the xaml with notepad and we can check whether we have this assembly or not. If not mention the assembly reference, save it and run the process once again
if that doesnt work like you have the reference already available, then in the studio
check whether you have this namespace in the import option. If not import and restart the studio once and try to run the process
3.Finally this could give you more insights on using Microsoft.Office.Interops
HOWTO: Use MS Office COM interop with UiPath
This tutorial is a step-by-step guide on how to use MS Office COM interop with UiPath.
There are many questions on the forums on how to use the Microsoft Office COM interop with UiPath. People were looking for ways to use the Invoke Code activity along with the Microsoft.Office.Interop.Excel or Microsoft.Office.Interop.Outlook assemblies. Some people have been able to get it to work, but others have not been able to get it to work even when followin…
Kindly try this and let know for any queries or clarification
Cheers @Sajin_91
balupad14
(Balamurugan (BalaReva))
December 7, 2019, 5:24pm
4
Hi @Sajin_91 ,
Here is an activity to export the excel to pdf.
Hi,
I have included a new activity called “Export WorkBook”. Using this activity that can able to export the workbook as PDF and XPS.
Name Space :
[image]
Activity and Properties :
[image]
Note :
Let me if you have any errors.
I would be happy to get more suggestions and feedback (Possibly likes).
Here is the video demonstration also.
https://forum.uipath.com/t/excel-how-to-export-the-excel-to-pdf-xps/318056?u=balupad14
Regards
Balamurugan.S
Regards
Balamurugan.S