Hello Together,
I have the following issue:
At the end of the workflow, I need to create one Excel with 5 different sheets, all of them have their own conditional formatting.
Besides this, the Excel should have the today’s date in the file name.
In the past, I have already got feedback from the Support Forum:
Do you have idea how can I solve this issue? (formatting in 5 sheets + renaming)
Thanks in advance,
Dóra
Solved! Go to Solution.
Hi @bakaidora ,
What is the issue you are having?
The link you provided shows how to create a filename with the date included (create a formula which is the full path with the additional datetimetoday() function to create the file name you need).
If you are wondering how to write to the same sheet multiple times, I would suggest wrapping the output in a batch macro, using the filename field you created as the control parameter (remember to group this field using the sum tool). This prevents Alteryx from attempting to write to a file while still writing the previous sheet.
I've attached a workflow with a macro showing you how to do this. Simply change the output location in the formula tool:
This feeds a batch macro:
Hope this helps.
M.
Dear @mceleavey
actually the issue is the following:
I am able to save one file with 5 tabs and with a date (today) in the file name, however, the tabs are not formatted.
I would like to keep everything which I have now and additionally I would like to have formatted tabs.
When I am using the link which I linked under my question the following happens: date (today) in the file name is available, the 5th sheet is available and formatted but the other tabs (1-4) are overwritten (and deleted) by the workflow, so they are not available.
I checked the solution what you mentioned in your feedback.
Unfortunately, one tool is not available for me. (instead of tool shows me a questionnaire)
Currently, my Version is 2020.4.5.12471
Do you have any other option which helps me to solve the issue with my current version?
Thanks in advance,
Dóra
Hi @bakaidora ,
you need to save the .yxmc file in your macro folder.
Options->User Settings->Edit User Settings->Macros. You can set your macro folder here.
M.
User | Count |
---|---|
17 | |
15 | |
15 | |
8 | |
5 |