ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel VBA macro to encrypt a Workbook or Spreadsheet (https://www.excelbanter.com/excel-programming/409259-excel-vba-macro-encrypt-workbook-spreadsheet.html)

wifigoo

Excel VBA macro to encrypt a Workbook or Spreadsheet
 
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.

Ron de Bruin

Excel VBA macro to encrypt a Workbook or Spreadsheet
 
See
http://www.rondebruin.nl/windowsxpzip.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"wifigoo" wrote in message ...
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.


wifigoo

Excel VBA macro to encrypt a Workbook or Spreadsheet
 
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.


"Ron de Bruin" wrote:

See
http://www.rondebruin.nl/windowsxpzip.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"wifigoo" wrote in message ...
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.



Ron de Bruin

Excel VBA macro to encrypt a Workbook or Spreadsheet
 
Hi

encrypt

No you need a third party program

the mailing functionality is limited to Outllook


No good way for all mail programs

You can try CDO if you are the one that install your program on every machine
http://www.rondebruin.nl/cdo.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"wifigoo" wrote in message ...
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.


"Ron de Bruin" wrote:

See
http://www.rondebruin.nl/windowsxpzip.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"wifigoo" wrote in message ...
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.




All times are GMT +1. The time now is 02:00 PM.

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