Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Security for VBA codes

I haven't notice any on this subject. So...
Is there a way to PW protect the VBA screen? Also, assuming there is,
can it be set up to allow others to edit (and save) the spreadsheet
only? I poked around the pull down menus, but couldn't see an
explaination. It must be so simple that I just didn't see it.
As always..... I would appreciate any help.
excelnut

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 180
Default Security for VBA codes

From the VB Editor, go to Tools VBA Project Properties and select the
Protection tab. There you have the option to set a password for the project.

"excelnut1954" wrote:

I haven't notice any on this subject. So...
Is there a way to PW protect the VBA screen? Also, assuming there is,
can it be set up to allow others to edit (and save) the spreadsheet
only? I poked around the pull down menus, but couldn't see an
explaination. It must be so simple that I just didn't see it.
As always..... I would appreciate any help.
excelnut


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Security for VBA codes

Thanks! I was in that screen before. But, I just didn't test it right.
Too busy that day.
Brain cramp.
Thanks again.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Security for VBA codes

I'm glad that I found this section. I had the exact same question. However,
now that that one is answered I have another. I found that if you copy the
sheet to a new workbook the protection does not stay.

I'm not worried about a user changing my code, I don't want them to see the
code at all, under any circumstances.

Is this possible?

The only way I can think of doing this is by protecting the code and
disabling sheet moving/copying. (Don't even know how to do that though)

Any help is much appreciated.

Mike

"bpeltzer" wrote:

From the VB Editor, go to Tools VBA Project Properties and select the
Protection tab. There you have the option to set a password for the project.

"excelnut1954" wrote:

I haven't notice any on this subject. So...
Is there a way to PW protect the VBA screen? Also, assuming there is,
can it be set up to allow others to edit (and save) the spreadsheet
only? I poked around the pull down menus, but couldn't see an
explaination. It must be so simple that I just didn't see it.
As always..... I would appreciate any help.
excelnut


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Security for VBA codes

If your code does a lot of complex stuff, obfuscating it (replacing it
with functionally equivalant, but much harder to understand code) will
make it harder for anyone who gets at it to understand what you are
doing, and that may be adequate.

A free, open source, Excel/VBA source code obfuscation Add-in is
available at:

http://invisiblebasic.sourceforge.net/

John



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
2 codes in 1 puiuluipui Excel Discussion (Misc queries) 0 February 23rd 09 09:56 AM
Codes sam Excel Discussion (Misc queries) 2 September 11th 07 02:04 PM
Need some help with codes Tom Excel Discussion (Misc queries) 2 August 16th 07 01:09 AM
Macro codes security H.Ali Dogan Excel Programming 1 September 9th 05 05:31 PM
VBA Codes Dan Excel Programming 3 June 29th 04 08:55 PM


All times are GMT +1. The time now is 09:51 AM.

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"