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

Community site session details

Session Id : t874kU2do0xQv2D4lMtVOq
Power Automate - General Discussion
Unanswered

Copy File From SharePoint Site to a Local Network Folder

Like (0) ShareShare
ReportReport
Posted on 28 Mar 2024 19:08:28 by 53

Hello,

 

I want create a scheduled flow to run every day, Monday - Friday, excluding holidays and weekends to take a specific tab of an Excel workbook saved on SharePoint to an Excel workbook that resides on the network drive.  The Excel workbook on the network drive will take a specific tab from the SharePoint Excel workbook and name it the same but add the current date to the end of it. 

 

For example, the specific tab from the SharePoint Excel workbook called "Deliveries", each day the flow should copy the "Deliveries" tab and put it into a workbook called "Orders" on the network folder. The tab name for today should be named "Deliveries 3-28-24", the tab name for tomorrow (Friday) will be "Deliveries 3-29-24", the third tab name should be "Deliveries 4-1-24" since 3-30-24 and 3-31-24 falls on a weekend. If holidays cannot be dynamically determined then that's fine, but excluding weekends is important.

 

Is this something do-able? Any help is appreciated, preferably with a picture or video.

 

TIA!

Categories:
I have the same question (0)
  • coolbeans23 Profile Picture
    53 on 03 Apr 2024 at 19:00:58
    Re: Copy File From SharePoint Site to a Local Network Folder

    Looks like I don't have a On-Prem gateway on my Power Automate version to make a copy to my local network drive.  I will have to make daily copies of the "Deliveries" sheet to the SharePoint site (which is ok too). 

     

    In order to achieve this I think I will have to create a Excel macro to make a copy of the sheet and rename the tab using the current date stamp then have the flow run daily by using the Run Script action in Power Automate in order to achieve what I want.  Sounds right? 

  • Andrew_J Profile Picture
    1,962 Moderator on 28 Mar 2024 at 19:26:09
    Re: Copy File From SharePoint Site to a Local Network Folder

    @coolbeans23 

     

    See below on the network folder issue.

     

    https://powerusers.microsoft.com/t5/Using-Connectors/Connecting-using-file-system/m-p/1336021/highlight/true#M13592

     

    Hope that helps with one thing.

     

    Andrew

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 783 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 515 Moderator

#3
trice602 Profile Picture

trice602 299 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete