Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Preventing User Access to VB code

Hi:

is there a way to prevent user access (password?) to the VB code in an
Excel workbook?

I have already restricted the tool bars and menu but I would like to
prevent users from trying to see the VB code.

thanks


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Preventing User Access to VB code

Right-click the module you want to protect, select VBAProject properties.
Select the protection tab and type a password in the box.

--
If I've mis-understood the question please tell me.

HTH

ijb

Remove nospam from my e-mail address to talk direct

Not MCSD, MVP, TLA, P&P, PCMCIA, etc just trying to help


"halem2 " wrote in message
...
Hi:

is there a way to prevent user access (password?) to the VB code in an
Excel workbook?

I have already restricted the tool bars and menu but I would like to
prevent users from trying to see the VB code.

thanks


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Preventing User Access to VB code

You've been given an answer for how to password protect you code.
However, you should know that this password protection provides only a
slight amount of real protection.

Anyone with enough gumption to find these newsgroups can find multiple
ways to bypass your restrictions. Usually with only a few seconds' work.

Excel's internal protection isn't worthy of the name. Instead, you may
want to consider protecting your code by including it in a compiled COM
add-in.



In article ,
halem2 wrote:

is there a way to prevent user access (password?) to the VB code in an
Excel workbook?

I have already restricted the tool bars and menu but I would like to
prevent users from trying to see the VB code.

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
Preventing user input for individual cells Michael.Tarnowski Excel Worksheet Functions 3 January 30th 09 12:05 AM
PREVENTING ACCESS TO A HIDDEN COLUMN Pat Excel Discussion (Misc queries) 2 March 26th 08 09:15 PM
Preventing an excel file from being deleted by another user pmcgr0arty Excel Discussion (Misc queries) 2 March 15th 06 11:56 PM
Preventing a user name in comments Gabriel Excel Discussion (Misc queries) 1 January 15th 06 11:10 AM
Problems with preventing the user of setting a checkbox of a treeview Jurry[_13_] Excel Programming 1 May 25th 04 12:00 PM


All times are GMT +1. The time now is 06:42 PM.

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"