web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating an excel spre...
Power Automate
Suggested Answer

Creating an excel spreadsheet with variable widths

(1) ShareShare
ReportReport
Posted on by 1,302
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:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,788 Super User 2026 Season 1 on at
    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard