EXCEL TO PDF ACTIVITY

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 thisCapture

1 Like

hi @Sajin_91

try this

Thanks
Ashwin.S

Fine

–this can be handled in many ways, hope this could help you resolve this

  1. Kindly check you have the below assembly in your xaml, if not add it manually and restart your project and try again.

image

–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

  1. 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

Kindly try this and let know for any queries or clarification
Cheers @Sajin_91

Hi @Sajin_91,

Here is an activity to export the excel to pdf.

Regards
Balamurugan.S