Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Password on an E-Mail File via VB

I have used Ron De Bruins code to e-mail out a number of worksheets within
the same file - Thanks Ron, but what code do I use in order to protect this
E-Mail file from being opened (by an unauthorised user)

Thanks



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Password on an E-Mail File via VB

Hi John

You can save the file with a password

Look in the VBA help for
SaveAs and see the this argument

Password Optional Variant. A case-sensitive string (no more than 15 characters)
that indicates the protection password to be given to the file.



--
Regards Ron de Bruin
http://www.rondebruin.nl


"John" wrote in message ...
I have used Ron De Bruins code to e-mail out a number of worksheets within
the same file - Thanks Ron, but what code do I use in order to protect this
E-Mail file from being opened (by an unauthorised user)

Thanks





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i password secure a workbook when i send it via e-mail AN Excel Discussion (Misc queries) 6 April 2nd 08 11:17 PM
Password Recovery on e mail Carol Excel Discussion (Misc queries) 1 July 13th 06 01:38 AM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Excel Worksheet Functions 0 June 23rd 05 11:56 PM
I have to repeat my password for e-mail every time, how do i get . judy Excel Discussion (Misc queries) 1 March 29th 05 08:06 PM
bypass password when update linking of password protected file Yan Excel Discussion (Misc queries) 1 February 7th 05 11:29 PM


All times are GMT +1. The time now is 01:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"