Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Protect my macros

I'm creating workbooks for a group of basic XL users. I don't want them
to mess my the macros should they get into the VBA editor. I've tried
to protect them by selecting the module, going into Properties and
turning on the password protection on the security tab. This, as near
as I can tell, does nothing. I then tried protecting the worksheet,
thinking that maybe the macro protection only worked if the sheet
itself was protected. No effect. Is there a way to protect my macros?
I'm not trying to protect them from serious hackers, just accidental or
curious end users.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Protect my macros

Be sure to save your project, close it, then reopen it after setting security
in the properties tab.

"davegb" wrote:

I'm creating workbooks for a group of basic XL users. I don't want them
to mess my the macros should they get into the VBA editor. I've tried
to protect them by selecting the module, going into Properties and
turning on the password protection on the security tab. This, as near
as I can tell, does nothing. I then tried protecting the worksheet,
thinking that maybe the macro protection only worked if the sheet
itself was protected. No effect. Is there a way to protect my macros?
I'm not trying to protect them from serious hackers, just accidental or
curious end users.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Protect my macros

Should have thought to try that, Bob. I did close the VBA editor, but
not the whole file.
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Protect my macros

I've written some VBA code that I don't want the user to even see. Is
there some way to hide a module, like you can hide a worksheet?

Also, I'm afraid I'm lame enough that I can't find how you did this:
"I've tried to protect them by selecting the module, going into
Properties and turning on the password protection on the security tab."
When the module is selected, how do I find "Properties"?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Protect my macros

Okay, I found an answer to both parts of my question, so I'm feeling
slightly less lame. There was another thread on this topic:

http://groups-beta.google.com/group/...3423ba61fe03e8

I'm new to this forum, but it's a fantastic resource.

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
Macros and protect sheet traima Excel Worksheet Functions 4 January 25th 07 10:25 PM
Password protect a sheet without Macros Cappa Excel Discussion (Misc queries) 3 May 27th 06 01:49 AM
Protect macros? JulieD Excel Discussion (Misc queries) 6 August 25th 05 08:38 PM
Protect Macros nc Excel Discussion (Misc queries) 8 March 23rd 05 03:24 PM
Macros to hide/protect formulae Mike[_65_] Excel Programming 2 January 8th 04 09:03 PM


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