Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Freeze Columns and Every column Fit-to-Width&Height

akvsachin
8 - Asteroid

In Alteryx, is it possible to configure the Render tool, Table tool, or any other tool to export an Excel sheet with a "Fit-to-Width" option?

For example, I want the column width to automatically adjust based on the cell contents (e.g., when some cells have around 200 characters while the column header has only 20 characters). Additionally, I’d like the row height to adjust to fit the font size of the cell contents.

I've attached a sample Excel sheet for reference.

7 REPLIES 7
binuacs
21 - Polaris

@akvsachin I don't think that is possible with the Render tool

akvsachin
8 - Asteroid

Hi @binuacs ,

 

Is either of these scenarios possible in Alteryx when delivering the output?

Either Adjusting the widths or Height of rows or freezing the header row ?

binuacs
21 - Polaris

@akvsachin may be with the help of python script it is possible but not with the Render tool

akvsachin
8 - Asteroid

Hi @binuacs ,

 

Somewhere I got this to solve the problem

"Create an excel template file where you have prestructured your sheets. copy this file using blob input/output and write to range"


Can you help me with this ?

binuacs
21 - Polaris

@akvsachin it is possible with pre-defined excel template using the blob tools, take a look at the below article, you can also find a sample workflow in there

https://community.alteryx.com/t5/Engine-Works/The-Blob-Reporting-That-Isn-t-From-a-Horror-Film/ba-p/...

binuacs
21 - Polaris

@akvsachin Here is the sample workflow attached

image.png

akvsachin
8 - Asteroid

Hi @binuacs 

 

Apologies for the delayed response.

I'm currently facing an issue with overwriting the output file. While copying the template works perfectly, I need a way to overwrite it.

For instance, if I'm providing a different file dynamically, I want the prepared data to overwrite the template directly.

The error in Output Tools shows as : Unable to open file for write 'path\Sample_Output.xlsx' - Can't Open file 'path\Sample_Output.xlsx'

or "Specified range is not large enough for incoming data fields"

I'm writing to range of cells A2:AC4 for a total of 35R:29C

Labels
Top Solution Authors