ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Unprotect use 2 passwords possible?? (https://www.excelbanter.com/excel-worksheet-functions/91872-unprotect-use-2-passwords-possible.html)

[email protected]

Unprotect use 2 passwords possible??
 
I have a unique scenario where I need to unprotect spreadsheets that I
read in and they all have one of two passwords. Is there a piece of
logic that I could use to try one password and if it fails try the
second?

In other words try password 1 and if it fails try password 2 (without
throwing an error on password 1)?

Any help greatly appreciated.

Thanks!


[email protected]

Unprotect use 2 passwords possible??
 
Figured it out....on error go to next

Tks!
wrote:
I have a unique scenario where I need to unprotect spreadsheets that I
read in and they all have one of two passwords. Is there a piece of
logic that I could use to try one password and if it fails try the
second?

In other words try password 1 and if it fails try password 2 (without
throwing an error on password 1)?

Any help greatly appreciated.

Thanks!



[email protected]

Unprotect use 2 passwords possible??
 
Figured it out....on error go to next

Tks!
wrote:
I have a unique scenario where I need to unprotect spreadsheets that I
read in and they all have one of two passwords. Is there a piece of
logic that I could use to try one password and if it fails try the
second?

In other words try password 1 and if it fails try password 2 (without
throwing an error on password 1)?

Any help greatly appreciated.

Thanks!




All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com