Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default can you hide macro code??

Hi,

I have some user forms and there is macro code associated
with them. Is it possible that the user be UNABLE to see
the code? ie. the code be inaccessible to them?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default can you hide macro code??

In VBA editor, select from menu bar
Tools/VBA Project Properties .../Protection tab, check the box "Lock project
for viewing" and add a password.

CAUTION: This is not secure. Password crackers for this level of security
are ten a penny. Better to compile your code as an add-in. Don't ask me
how to do that.


wrote in message
...
Hi,

I have some user forms and there is macro code associated
with them. Is it possible that the user be UNABLE to see
the code? ie. the code be inaccessible to them?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default can you hide macro code??

Hi,

In VB, choose Tools, Properties, Protect.
There you can choose your password, and then you make sure to choose option
"Hide".
Close the program, open it again and press F11 to get to VB.
Now you have to write your choosen password to be able to see the code.

//Thomas
skrev i meddelandet
...
Hi,

I have some user forms and there is macro code associated
with them. Is it possible that the user be UNABLE to see
the code? ie. the code be inaccessible to them?



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
Macro or VB code to hide and unhide Label box Den Excel Discussion (Misc queries) 1 May 19th 10 02:37 AM
Macro code to hide rows and not calculate hidden rows bradmcq Excel Discussion (Misc queries) 0 September 1st 09 12:38 AM
hide code does not hide Wanna Learn Excel Discussion (Misc queries) 2 March 6th 08 07:21 PM
Macro/code to hide rows Smatass Excel Worksheet Functions 1 September 25th 07 01:57 AM
Hide VBA code help GerryK Excel Worksheet Functions 3 May 30th 07 09:47 PM


All times are GMT +1. The time now is 02:58 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"