ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro & XLA passwords (https://www.excelbanter.com/excel-programming/298526-macro-xla-passwords.html)

Geoff[_9_]

Macro & XLA passwords
 
I would like to generate an XLA password using VBA? Also a password to to protect the viewing of modules using VBA

The XLA file is being genererated from a script. Any help on this one would be greatly appreciated

Thanks in advance

Geof



Tom Ogilvy

Macro & XLA passwords
 
The only access to functions that would allow you to protect a project
(code) using VBA would be the use of Send keys.

The workbook.SaveAs method has arguments for supplying passwords.

--
Regards,
Tom Ogilvy

"Geoff" wrote in message
...
I would like to generate an XLA password using VBA? Also a password to to

protect the viewing of modules using VBA.

The XLA file is being genererated from a script. Any help on this one

would be greatly appreciated.

Thanks in advance

Geoff





Geoff[_9_]

Macro & XLA passwords
 
Thanks Geoff


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

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