Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to encrypt excel file and give output

Anbumani
7 - Meteor

Hi, I have two excel file,

1st excel file has two Columns, column A has names and column B has passwords

2nd excel file has multiple datas along with one column A has names

 

i want to encrypt and save the 2nd excel file based on  column A names with 1st excel file password.

Kindly help mw with the Alteryx solution

3 REPLIES 3
KGT
12 - Quasar

So, you want to have an XLSX with password, or you just want to encrypt the data?

 

If it's an xlsx with password then you will need to interact with an external operation to achieve that. You can do this via either Run Command/Python/R Tools. The general consensus these days seems to be using python and so you can either use the python tool or generate a .py script and run it from the cmd using Run Command. I recommend the python tool.

 

You may have to deal with less dependencies using R instead, however you'll probably have less online blog support as python is more popular for file manipulation.

 

For the python script, there are tons around. Depending on your situation as to which is best, either completely in a package like SpireXL or through Win32 and pyXL.

Check out this list with sample code: https://medium.com/@alice.yang_10652/7-ways-to-protect-or-encrypt-excel-files-in-python-5a01a8e55c9e

 

As an add-on, if these files are generated out of Alteryx, then passwording them on generation will be best and you would output using R or Python, assigning the pw on the output.

Anbumani
7 - Meteor

HI Is there any other way to password protect the excel file without using python and other program

caltang
17 - Castor
17 - Castor

@Anbumani Yes! My friend @alexnajm commented it here: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Password-Protect-Multiple-Exce...

 

Hope it helps!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors