ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Record a macro which enters a password to unprotect a workbook (https://www.excelbanter.com/excel-programming/354175-record-macro-enters-password-unprotect-workbook.html)

zeon

Record a macro which enters a password to unprotect a workbook
 
Hi,

Please can someone help. I have a few workbooks that has been protected via
Save as\Tools\General options\Password to open.

I want to record/edit a macro to open and enter the passwords for all the
workbooks, but when I record the macro, it ignore the fact that I am typing
in a password, how do I get around this?

Many Thanks

Zeon.

Eric White[_2_]

Record a macro which enters a password to unprotect a workbook
 
Workbooks.Open Filename:="The Workbook.xls", Password:="ThePassword"


"Zeon" wrote:

Hi,

Please can someone help. I have a few workbooks that has been protected via
Save as\Tools\General options\Password to open.

I want to record/edit a macro to open and enter the passwords for all the
workbooks, but when I record the macro, it ignore the fact that I am typing
in a password, how do I get around this?

Many Thanks

Zeon.



All times are GMT +1. The time now is 08:19 PM.

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