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

Alteryx Designer Desktop Discussions

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

Append to xlsx works fine, but overwrite does not?

ylamlih
7 - Meteor

Hello,

 

I've built a simple workflow that manipulates data and then need it to overwrite a sheet in an Excel file except for the column names.

 

My setup is thus as follows:

 

ylamlih_0-1594721244999.png

 

For some reason, if I run this workflow it will just keep on running until I cancel it myself without any errors, see below:

 

ylamlih_1-1594721354496.png

 

I've tried running the exact same workflow with the same destination file, but using the 'Append' setting instead of 'Overwrite' and that works fine and finished in 4 seconds.

 

Anyone got any idea what I'm missing here? I'm running the latest version of Alteryx 2020.2.3.27789 in non-admin.

 

Thanks!

 

 

2 REPLIES 2
DavidP
17 - Castor
17 - Castor

Try adding a cell range to the sheetname that starts writing at row 2.

 

For instance, if you have 10 columns and want to write from cell A2 to the end of your data, you can specify filename.xlsx|||Sheet1$A2:J

 

J represents column 10. By omitting a number, it will write all the rows in the data set.

ylamlih
7 - Meteor

Works a charm! Thanks for the quick help 🙂

Labels
Top Solution Authors