UiPath automation for converting a .docx file to a .pdf file

0 votes
What is the automation process to convert a word (.docx) file to a PDF file using UiPath automation?
Mar 8, 2019 in RPA by Rashmi
2,068 views

1 answer to this question.

0 votes

Hey Rashmi, that's actually a very easy automation process. All you need for this is UIPath Word Dependencies. Now below are the steps to convert a .docx file to a .pdf file using UiPath:

1. Create a new Sequence and click Manage Dependencies. Navigate to Official and download Word dependencies.

2. Now from the Activities pane, add Word Application Scope and enter the file path of your .docx file.

3. Then drag the Export to PDF activity and enter the file name and path of new pdf file which you want to create.

And that's it, run this automation and you will have your newly created pdf file:

answered Mar 8, 2019 by Abha
• 27,930 points
Hi - this is so helpful.  I have an existing Word file that I would like to covert to a PDF file.  I followed the instruction above and when I do, it created a copy of the Word file (with no contents) and then generates the PDF file from that.  How can I adjust this to look at my original Word file?

You can use the Export Pdf activity for this. 

Do one thing. Read file name first.

  1. In Assign, String filename = Path.GetFileNameWithoutExtension(item)

  2. Export to PDF, pass like this “folderPath”+filename+".pdf"

Hope this helps! 

Related Questions In RPA

0 votes
1 answer
0 votes
1 answer

Hi Team. How to copy images form pdf file to word using Uipath.

Hey Rudravalambi, to copy images from a ...READ MORE

answered May 17, 2019 in RPA by Abha
• 27,930 points
1,205 views
0 votes
1 answer

How to extract table and text from pdf file and load into Excel by using workbench commands in automation anywhere

Hey Dhruv, to extract table and text ...READ MORE

answered Oct 10, 2019 in RPA by Abha
• 27,930 points
1,798 views
0 votes
1 answer

How to save only a specific file type using Save Attachment activity in UiPath?

Hey, the Filter property from Save Mail Attachment ...READ MORE

answered Nov 7, 2019 in RPA by Abha
• 27,930 points
1,892 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
634 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,441 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,110 points
901 views
0 votes
1 answer

Private Chrome window open UiPath

To open the browser in private mode, ...READ MORE

answered Apr 25, 2018 in RPA by wrecker
• 3,110 points
646 views
0 votes
1 answer

How to scrap only numbers from a pdf file using UiPath studio?

Hi, to scrap only numbers from a ...READ MORE

answered Oct 16, 2019 in RPA by Abha
• 27,930 points
287 views
0 votes
1 answer

Is there any way to check whether a file exists or not using UiPath?

Hi @Raj, performing this check in UiPath ...READ MORE

answered Mar 20, 2019 in RPA by Abha
• 27,930 points
3,286 views