Excel Unprotect Macro not working within UIPath

Scratching my head why this code doesn’t take into effect when used within UIPath (independently it does work).

Function UnProtectSheet()
Dim ws As Worksheet

For Each ws In Worksheets
ws.Unprotect “sheetpassword”

End Function

Hi @zbatev

Could you provide more info about the exact way you’ve implemented it in UiPath? Maybe a full sample project with a recreated scenario? :slight_smile: