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 / Get First free column/...
Power Automate
Unanswered

Get First free column/row from excel worksheet doesn't work for password protected spreadsheets

(0) ShareShare
ReportReport
Posted on by 73

We can access password protected Excel spreadsheets with Power Automate Desktop by providing password in Advanced section. 

However, it is failed at action "Get first free column/row from Excel worksheet with the error as "You cannot use this command on a protected sheet. To use this command, you must first unprotect the sheet (Review tab, Protect group, Unprotect Sheet button). You may be prompted for a password."

 

How can resolve to run the next actions with password protected spreadsheets ?

I have the same question (0)
  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    Please share your PAD script

  • VJR Profile Picture
    7,635 on at

    Hi @Niraj466 ,

     

    The password that we apply in the Advanced section is the password of the Excel Workbook and not the Worksheet.

    As the error clearly states "You cannot use this command on a protected sheet. To use this command, you must first unprotect the sheet "

     

    Since there is no in-built action as of now in PAD to unprotect a sheet you can write a simple macro and call it from PAD or a Vbscript that does the same.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 258 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 198 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard