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 / 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
Screenshot 2024-08-22 110555.jpg
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator 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

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard