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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard