PC Review


Reply
Thread Tools Rate Thread

Code Protection

 
 
=?Utf-8?B?TWlrZSBILg==?=
Guest
Posts: n/a
 
      9th Jul 2007
I don't want just any old user to have access to macros. How can I prevent
user access to macros. I can't share the workbook because I have seen
problems with that.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZSBI?=
Guest
Posts: n/a
 
      9th Jul 2007
Mike,

There is no secure way of protecting code in a workbook.

Mike

"Mike H." wrote:

> I don't want just any old user to have access to macros. How can I prevent
> user access to macros. I can't share the workbook because I have seen
> problems with that.

 
Reply With Quote
 
Keith74
Guest
Posts: n/a
 
      9th Jul 2007
Depends on your definition of secure really. If its just to stop
average Joe Bloggs at work from getting access to your code, open up
the code editor, select tools - vba project properties - protection
tab, and lock the project for viewing and set the password.

 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      9th Jul 2007
In the VBA IDE, goto Tools>VBA Project Properties>Protection and check the
"Lock project for viewing, and optional enter a password.

Also, depending on you intentions, look into "Option Private Module" and
possibly use an Add-In.

NickHK

"Mike H" <(E-Mail Removed)> wrote in message
news:A2B75EE7-8E67-4747-92CB-(E-Mail Removed)...
> Mike,
>
> There is no secure way of protecting code in a workbook.
>
> Mike
>
> "Mike H." wrote:
>
> > I don't want just any old user to have access to macros. How can I

prevent
> > user access to macros. I can't share the workbook because I have seen
> > problems with that.



 
Reply With Quote
 
=?Utf-8?B?TWlrZSBILg==?=
Guest
Posts: n/a
 
      9th Jul 2007
My definition of secure is to prevent average Joe Bloggs at work from getting
into the code and messing it up. This is exactly what I want! Thanks...


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Turn protection Off... <run code>... turn protection back on DFS Microsoft Excel Programming 3 4th Oct 2009 04:52 AM
Re: Code protection GS Microsoft C# .NET 5 24th Feb 2008 12:10 AM
Re: Code protection Cowboy \(Gregory A. Beamer\) Microsoft VB .NET 0 22nd Feb 2008 11:38 PM
Re: Code protection Marc Gravell Microsoft C# .NET 4 22nd Feb 2008 01:36 PM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Microsoft Excel Programming 0 27th Jan 2004 07:07 AM


Features
 

Advertising
 

Newsgroups
 


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