Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Creating an excel spreadsheet with variable widths

(1) ShareShare
ReportReport
Posted on by 1,296
Hi
 
I am trying to create a Excel spreadsheet using PowerAutomate which has variable widths.  What I mean by this is that the width of the column expands to take in the maximum width of the cells in the column.
 
I cannot see how to do this.
 
Thanks Nigel
Categories:
  • Suggested answer
    David_MA Profile Picture
    11,744 Super User 2025 Season 1 on at
    Creating an excel spreadsheet with variable widths
    Power Automate has no built-in way to do this. You would need to write an Office Script to do that, and then you can have Power Automate run the script on the spreadsheet. You can learn more about them at Introduction to Office Scripts in Excel - Microsoft Support

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1