Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Output to Excel Help

lac
7 - Meteor

Hello, I have a large data set that I need to output to five separate tabs. I know how to do this part but what I'm struggling with is how to output to the five tabs while maintaining the existing excel formatting in each tab. The formatting in each tab is the same just the data is different. Any thoughts how to accomplish this?

 

output tabs are

 

Region - NA

Region - EU

Region - IMG

Region - CN

Region - SA

 

This is what I've done but it's not working, I keep getting an error.

 

lac_1-1664814807114.png

lac_2-1664814889313.png

 

 

1 REPLY 1
OllieClarke
15 - Aurora
15 - Aurora

Hi @lac 

 

The way to do this is to create the full path of the file/sheet/range in a formula tool before.

Then use this fullpath to replace the entire filepath.

 

The format for the filepath is

 

[directory]\[filename].xlsx|||[sheetname]$[RangeStart]:[RangeEnd]

 

 

OllieClarke_0-1664816149260.png

 

So here I've got a formatted excel:

OllieClarke_1-1664816228931.png

 

I then write to that file, preserving formatting, but changing the entire filepath

OllieClarke_2-1664816278637.png

which then gives me this:

OllieClarke_3-1664816309080.png

 

Hope that helps,

 

Ollie

 

 

Labels