ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Workbook Protection (https://www.excelbanter.com/excel-programming/375196-workbook-protection.html)

adehart

Workbook Protection
 
Is there a way, through Windows Explorer to unprotect a whole directory of
password protected workbooks? I have a macro that will protect, save and
close each workbook but I still have to open each one to run it. Can I
somehow do it through windows explorer? Or, is there a way to make a macro
written in personal.xls run when a workbook is opened?

Tom Ogilvy

Workbook Protection
 
for the second option, see Application Level events
http://www.cpearson.com/excel/appevent.htm

for the first, I would think not. You of course could write a macro to open
each workbook and perform any required actions, then save and close.

--
Regards,
Tom Ogilvy


"adehart" wrote:

Is there a way, through Windows Explorer to unprotect a whole directory of
password protected workbooks? I have a macro that will protect, save and
close each workbook but I still have to open each one to run it. Can I
somehow do it through windows explorer? Or, is there a way to make a macro
written in personal.xls run when a workbook is opened?


EDCNB

Workbook Protection
 
Can you send me the macro that will protect, save and
close each workbook?

Thanks

"adehart" wrote:

Is there a way, through Windows Explorer to unprotect a whole directory of
password protected workbooks? I have a macro that will protect, save and
close each workbook but I still have to open each one to run it. Can I
somehow do it through windows explorer? Or, is there a way to make a macro
written in personal.xls run when a workbook is opened?



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

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