Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Process Mining
Answered

Copy the filename in Excel for every file uploaded in SharePoint

(0) ShareShare
ReportReport
Posted on by

Hi! Is there a way to copy the filename in an online excel file (macro enabled) every time a pdf file is uploaded in a SharePoint folder? Thank you in advance!!

Categories:
  • Community Power Platform Member Profile Picture
    on at
    Re: Copy the filename in Excel for every file uploaded in SharePoint

    thank you!!!

  • Verified answer
    mahoneypat Profile Picture
    1,720 on at
    Re: Copy the filename in Excel for every file uploaded in SharePoint

    You can use a Flow like this to do that.  First, create an Excel file with a Table in it (I called mine tblFileNames in example below) to store your filenames, and put in on SharePoint.  Then make a Flow that triggers off when a file is created in that SharePoint document library, and add an Action to add a row into the table in the Excel file you made.  Use the filename to populate the desired column in the Excel table.

     

    mahoneypat_0-1615210735653.png

     

    Regards,

    Pat

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Process Mining

Overall leaderboard