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 : kIVnVmPkDufbaJcCWAfz5/
Power Automate - Building Flows
Answered

HOW TO CREATE EXCEL WORKBOOK IN A CLOUD - I SHARE MY SOLUTION

Like (1) ShareShare
ReportReport
Posted on 1 Mar 2021 09:17:36 by 22

Hi to all developers ๐Ÿ˜‰

I hope that my solution can help you.

Here please find below how to solve the issue with lack of Excel business connector to create Excel workbooks on SharePoint in a cloud.

I assume you all will have SharePoint and Excel business connector.

Solution how to create Excel Workbook in a cloud:

First please place an blanc Excel file on SharePoint document folder which you will use when ever you will need to create a new workbook.

Then please follow the steps below ๐Ÿ˜‰

1. Add the SharePoint connector "Get file metadata" to get the ItemId

Why? --> We need to get the blanc Excel file id.

2. Add the next step which is second SharePoint connector "Check out file" and use the ItemId from the previous step.

Why? --> Check out a file in a document library to prevent others from editing the document, and your changes from being visible until the documented is checked in.

3. Now you can do some actions in the Excel file like Run a script, create table etc...

4. Add next SharePoint connector โ€œGet file contentโ€

Why --> We need to capture all the modifications done in the workbook from the previous step No. 3.

5. Add the next SharePoint connector โ€œCreate fileโ€

Why --> You will save the updated/changed workbook in a desired location with desired name. 

6. Add the final SharePoint connector โ€œDiscard check outโ€.

Use the ItemId from the step 1 to reverse all changes done to the file.

Why? --> We need to keep save the blanc Excel file from any changes to use it next time. If you check out a file and donโ€™t make changes to it, or you make changes that you donโ€™t want to keep, you can simply discard the checkout, rather than saving the file. If your organization tracks versions, a new version is created each time you check a file back into the library. By discarding the checkout, you can avoid making new versions when you havenโ€™t made any changes to the file.

 

Hope this will help the community.

Regards,

Miroslaw Gadek from Poland ๐Ÿ˜‰

I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on 02 Mar 2021 at 08:21:50
    Re: HOW TO CREATE EXCEL WORKBOOK IN A CLOUD - I SHARE MY SOLUTION

    Hi @MIREK1983,

     

    Thank you for your detailed solution and contribution to the community.

    This post could help user who don't know how to Create Excel Workbook.

    You could go ahead and mark the post as solved by clicking โ€œAccept as Solutionโ€ so that this thread will be marked for other users to easily identify!

    Best Regards,
    Community Support Team _ Lin Tu

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โ€ฆ

Chiara Carbone โ€“ Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for Novemberโ€ฆ

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard