I am using UiPath to create a robot to get files from email. Some files are password protected and some files are not protected.
The password-protected files are sent in with a password in email body.
Example email
From: ABC <[email protected]>
Sent: Monday, 5 October 2020 10:54 AM
To: BCD <[email protected]>
Subject: Files
The password is: ......
There can be 10 emails and 2 have password-protected files do I let the robot know which files are password protected and to open the password-protected Excel file and move the data to a mega Excel sheet containing all the files from the 10 emails.
I am unsure of the activities to put in the workflow to perform these functions. I am also unsure if the below method I did is the right way to approach this.
This is just one option you have. As I had good experiences in the past with the BalaReva.Excel.Activities, maybe it's worth to be tested by you.
So as the image shows, this
Connect
comes with plenty of Libraries. You need to download the whole package and take the functionalityProtectUnProtectSheet
. That activity should work on your case.For a full example check out this.