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
7,712 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
• 28,140 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

In uipath how to check whether a checkbox is checked or not in pdf file?

You can use an image exists or ...READ MORE

answered Nov 5, 2020 in RPA by Umesh
3,209 views
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
• 28,140 points
3,681 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
• 28,140 points
4,747 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
1,617 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
2,757 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
1,822 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
1,503 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 17, 2019 in RPA by Abha
• 28,140 points
1,350 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
• 28,140 points
8,092 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP