11-06-19 04:20 PM
Hi,
I'm able to edit the MS Excel VBO to open a password protected file. But when I use "Save As Workbook", after opening the file with the password, it's still saved in protected mode.
My goal is to save the files without needing any passwords. What's the best way to do this?
Thanks,
Pranav
11-06-19 08:14 PM
Ok, struggled with Excel VBO (Protect Workbook, Unprotect Workbook actions) for a few hours and decided to go with PowerShell. Used similar code as below.
https://stackoverflow.com/questions/42860894/remove-known-excel-passwords-with-powershell
I'm passing file names and password as arguments through a batch file. I'm writing the batch file in Blue Prism using "Write to Text" with .bat extension.
This works, but if anyone made it work using only Blue Prism, I'd love to see.
Cheers!
11-10-23 09:26 PM
may i ask for a copy of your solution? 🙂