Macro & XLA passwords

G

Guest

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
 
T

Tom Ogilvy

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 said:
I would like to generate an XLA password using VBA? Also a password to to
protect the viewing of modules using VBA.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top