Hi Team,
I have to merge all files in a folder into a single pdf file ,it will be an excel, png or pdf. I have to merge them into a single pdf file.
Please help on this.
Thanks,
Manoj
iampnkz
(Pankaj KUMAR)
April 9, 2026, 6:59am
2
Hi @manojmanu.rpa ,
You can first convert all the files (Excel, PNG) into PDF format, and keep existing PDFs as they are. Store all these PDFs in a folder, and then use the Merge PDF activity to combine them into a single file.
Thanks!
How can I convert to pdf is there any activity for that?
adi.mehare
(Aditya Mehare)
April 9, 2026, 7:21am
4
Check below threads for
Image to PDF .
I got it fully working and wanted to share my code for anyone who needs it.
Install the PDFSharp-GDI package (I am using v6.0.0).
Invoke Code with arguments sourcefile and destination file, using this code:
Try
Dim MyImage As System.Drawing.Image = System.Drawing.Image.FromFile(sourcefile)
Dim doc As PDFSharp.Pdf.PdfDocument = New PDFSharp.Pdf.PdfDocument()
For PageIndex As Integer = 0 To MyImage.GetFrameCount(System.Drawing.Imaging.FrameDimension.Page) - 1
MyImage.SelectActiveFrame(System.β¦
Excel to PDF
The UiPath Documentation - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business examples...
Hi,
I would like to download excel worksheet and change it into PDF for printing.
I would like a code that captures everything on the worksheet into PDF
Thanks
Then You can use Join PDF activity to combine everything
The UiPath Documentation - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business examples...
iampnkz
(Pankaj KUMAR)
April 9, 2026, 9:04am
5
Hi @manojmanu.rpa
For Excel: Save Excel File As PDF Activity - Activities - Save Excel File As PDF
Image to PDF: using βword application scope β
Then: Merge PDF activity
Thanks