We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding Current Date and Password Protection to Workbook with multiple Sheets

BENJAMIN2
6 - Meteoroid

Hello Alteryx Community,

 

I have a workflow that generates four output files with same name. When I run run the workflow, Alteryx combines the outputs into a single workbook with four sheets. I need to add current date in mmddyy format to the workbook name as suffix and password protect it. However I don't want to change the sheet names. 

 

Could someone help me with the Alteryx tool and steps required to add the current date to the workbook and password protect it ?

 

Any help is much appreciated. Thankyou in advance!

Capture.JPG

1 REPLY 1
Clifford_Coon
11 - Bolide

Hi Benjamin,

 

I use the blob copy macro tool to copy an existing "Template" file. (this file needs to have the password)

The copy will do a copy from the original "template" to the desired file.  The output name can be updated with a formatted date value.

 

Here is a sample:

The call:

Blob_01.jpg

 

The macro:

Blob_02.jpg

 Hope this helps.

Labels
Top Solution Authors