In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

How to copy and rename an Excel file using Run Command while preserving formatting

theonlytej
5 - Atom

Hi everyone, I’m trying to create an Alteryx workflow that copies an existing Excel file and renames it, while keeping all original formatting (e.g., cell colors, styles, pivot tables, etc.).

3 REPLIES 3
KGT
13 - Pulsar

All of the above solutions involve reading it in and writing it out, which is necessary if you want to affect even one cell. If you are purely trying to do a file copy operation, nothing with the data, then the Run Command will be the way using a .bat file. However, it's an operation that can be done through Alteryx that helps to complete the solution, whereas if this is the main thing you need to do, then there may be other ways that suit than Alteryx.

 

Take a look at these posts for some info on using Run Command. They are slightly different to your request, but it'll be similar. The "work" is within the .bat file, whether that's written out of Alteryx or in Notepad.

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-Rename-a-formatted-fil...

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Delete-bat-files-after-running...

 

Labels
Top Solution Authors