Excel VBA macro to encrypt a Workbook or Spreadsheet

W

wifigoo

Hello,

I've created a button in a spreadsheet that, when clicked, will encrypt and
compress a Workbook using IZArc's command line tool. Unfortunately, this
requires downloading and installing IZArc software. I would rather use an
Excel built-in function that would encrypt and compress a
Workbook/Spreadsheet thereby avoiding having to download and install IZArc.

Has anyone tried this? Or does anyone know where I may find information to
help me create such a Excel VBA macro?

Many thanks for your help.
Kindest regards,
Olivier.
 
W

wifigoo

Thanks Ron.

Actually, encrypt, compress (zip) and email is exactly what I am looking
for. If I am not mistaken your examples do not encrypt the ActiveWorkbook and
the mailing functionality is limited to Outllook. Unfortunately, I cannot
tell in advance which email client will be used. Therefore, I would like the
VBA macro to use the default email client. It would be disappointing if
Microsoft was only interested in supporting 100% Microsoft solutions. I find
it hard to believe that they haven't thought that users could be using other
email clients than Outlook.

Thanks for the link, nevertheless.
 

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