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 / Flow for running offic...
Power Automate
Unanswered

Flow for running office script on excel file, then save a region of the modified excel file as pdf

(0) ShareShare
ReportReport
Posted on by 43

Hi I am able to run a flow with my office script to convert a raw excel file into a formatted file. 

I then set PrintArea as I13:048. When I manually click save as PDF, this saves the PrintArea as PDF - which is what I want. 

Kehong_0-1706776449791.png

 

However, I don't know how to create this as a automated flow on PowerAutomate. 

Below is my attempted flow to convert the xlsx file to pdf but ran into an error.

ask flow.png

Any suggestion please? 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Kehong ,

     

    The Run Script action may not fully support certain functions within Office Script.

    Would you mind reviewing this link?

     

    Best Regards,

    Bof

  • Kehong Profile Picture
    43 on at

    Hi @v-bofeng-msft 

    Thanks for the link but I am still unable to identify the problem 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard