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 : JKiWut1aQYzeMXc6dltwHb
Power Automate - Building Flows
Unanswered

Flow to Export Data from password Protected Excel Sheet

Like (0) ShareShare
ReportReport
Posted on 14 Nov 2021 16:40:57 by 2

Hi everyone,

 

I'm just starting to learn Power Automate and Flows. Now I would like to have a Flow of my regular VBA processes automated. I always get an email with an Excel document where only a few pieces of information are of interest to me. I am currently having this read out via VBA. The problem is that the Excel document has a password for opening. Can anybody help me how I can automatically open the document with the same password and export the few information to an Excel document (or list)?

 

Regards

sakoba 

  • VJR Profile Picture
    7,635 on 16 Nov 2021 at 04:29:17
    Re: Flow to Export Data from password Protected Excel Sheet

    Hi @sakoba1844 

     

    You will have to make use of OfficeScripts and then call them from Power Automate.

    Refer this link for OfficeScripts.

    The above link has a video and also information on using the recorder.

    But if you want to know more you can take a look at some videos on YouTube for creating OfficeScripts for Excel.

     

     

    The official documentation on Excel scripts regarding workbook unprotection is here.

     

    The topic of interest for you in this link would be in below marked section.

     

    VJR_0-1637036885897.png

     

     

    PS: the title says sheet protection but the content of the post says the file is asking for password before opening. Both cases you will find in all of the above links.

  • Ram Prakash Profile Picture
    5,309 Super User 2025 Season 2 on 16 Nov 2021 at 03:04:15
    Re: Flow to Export Data from password Protected Excel Sheet

    Hello @sakoba1844,

     

    No u can't, weather it is SharePoint or One Drive it should be  Password free excel.

     

     

    Please mark as Answer if it is helpful and provide Kudos

     

    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • sakoba1844 Profile Picture
    2 on 15 Nov 2021 at 21:18:00
    Re: Flow to Export Data from password Protected Excel Sheet

    That's bad, thank your for your help 😞

    Is it possible to temporarily store a copy in my OneDrivefor removing all passwords are automatically and delete this afterwards?

     

    Regards

    sakoba

  • Ram Prakash Profile Picture
    5,309 Super User 2025 Season 2 on 14 Nov 2021 at 16:56:15
    Re: Flow to Export Data from password Protected Excel Sheet

    Hello @sakoba1844,

     

    Unfortunately connector does not support based on your requirement to retrieve password protected spreadsheets. There is no way to work with them other than removing the password.

     

    Please mark as Answer if it is helpful and provide Kudos

     

    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

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 our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete