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 / Convert Excel to PDF -...
Power Automate
Suggested Answer

Convert Excel to PDF - one worksheet only

(2) ShareShare
ReportReport
Posted on by 14
I have a complete flow that takes an excel file and converts to PDF. But it's taking both "sheets" from the excel file. I only want the one sheet/tab to be converted to PDF.
 
I have searched high and low, but can't sort it out. I don't have access to third party flow apps because this is through a work account. 

Is there a way to create a "new" file that only has the one tab from the original excel file? and then i could convert that to PDF?
 
Having a very hard time figuring out how to build a flow to target the one tab.
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    HI
     
    Will it always be the same format??
     
    If the format is always the same
     
    1) I would create an Excel file, that has only one sheet, and in that Sheet, put the headers etc (no data) and then add an Excel Table around the headers and first row
     
    Its required
     
    1b). I would then Copy the Template you made to another File, that you will use as the Receiver of this data. You want to keep your template there all the time to make this easy.
     
    2) Make sure that your Original File, has an Excel Table around the Data you want. If its NOT there, then you need to use the Create Table action for Excel and add one,
     
    3) Use a List Rows in a Table action to loop through all the Items in your Source Excel using the Excel Table Name you either created in Step 2 or if it already had one
     
    4) Use an Apply to Each (For each in new UI) to look through all the ROws found in step 3
     
    5. Inside the Apply to Each, use the Add a Row to a Table Action in Excel, to use the Data in the Current Iteration of the Loop, to add a new row into the Table in the Copy you made of the Excel File I had you create
     
     
    Once thats finished, you are done.
     
     
     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard