Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jzz Jzz is offline
external usenet poster
 
Posts: 20
Default Protecting the code using code

Hi all,

I have a problem protecting my VBA project. I want to be able to
protect the code from viewing, using code.
This is unusual, I know, but I want to be able to freely send the
workbook via E-mail. The anti-virus software on our mail server does
not accept the workbook to be sent when the code is locked, but I do
not want the users on the other end of the line to be able to view and
change the code, as this happened before.
The idea is that the user has to 'activate' the workbook with a
button, which runs a code that protects the workbook and the code. The
workbook is not the problem, but is it possible to do the same with
the project?

I hope somebody has a suggestion. Can't find anything in the help...

Greetz,

Jzz

  #2   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default Protecting the code using code

Does the antivirus software allow .zip files?
--
JNW


"Jzz" wrote:

Hi all,

I have a problem protecting my VBA project. I want to be able to
protect the code from viewing, using code.
This is unusual, I know, but I want to be able to freely send the
workbook via E-mail. The anti-virus software on our mail server does
not accept the workbook to be sent when the code is locked, but I do
not want the users on the other end of the line to be able to view and
change the code, as this happened before.
The idea is that the user has to 'activate' the workbook with a
button, which runs a code that protects the workbook and the code. The
workbook is not the problem, but is it possible to do the same with
the project?

I hope somebody has a suggestion. Can't find anything in the help...

Greetz,

Jzz


  #3   Report Post  
Posted to microsoft.public.excel.programming
Jzz Jzz is offline
external usenet poster
 
Posts: 20
Default Protecting the code using code

Didn't think of that, good idea!

I'm not sure it does, but it's worth a try!

Jzz

  #4   Report Post  
Posted to microsoft.public.excel.programming
JNW JNW is offline
external usenet poster
 
Posts: 480
Default Protecting the code using code

Even if it doesn't allow zips you can do the following.

1-Zip the file
2-rename the file and put "remove" after the .zip (i.e. filename.zipremove)
3-email that file and instruct the user to copy to desktop then rename and
remove "remove" then unzip.
--
JNW


"Jzz" wrote:

Didn't think of that, good idea!

I'm not sure it does, but it's worth a try!

Jzz


  #5   Report Post  
Posted to microsoft.public.excel.programming
Jzz Jzz is offline
external usenet poster
 
Posts: 20
Default Protecting the code using code

Yeah, well, I think my users are not really capable of that :-)...

But I think the normal zipping is actually the best trick. It has to
be sent to a ship using sattelite uplink, this is quite expensive.
zipping will safe some costs as well.

Thanks!

Jzz



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
Protecting VBA code dstiefe Excel Programming 4 July 20th 05 08:42 PM
Protecting Code Jerry Excel Programming 4 December 31st 04 09:13 PM
Protecting the code Harald Staff Excel Programming 0 August 31st 04 02:58 PM
Protecting buttons with VB code rather than protecting sheets/books? StargateFanFromWork Excel Programming 2 July 16th 04 04:03 PM
Protecting VBA code JackJ Excel Programming 6 March 2nd 04 11:10 AM


All times are GMT +1. The time now is 04:23 PM.

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

About Us

"It's about Microsoft Excel"