Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Restricting Access to VB Code (xl98)

Hi All,

I am hoping someone will be able to help me!

I have a macro and I want to password protect/restrict access to the VB
within the macro.

I have had a look in the help files and come up with zip!

Has anyone got any ideas?

Thanks in advance!

MoonWeazel


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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Restricting Access to VB Code (xl98)

Have a look in MS Access Help under "Security". There is the possibilit
of setting levels of access for different users but I have never gon
that far.

You can set the module Hidden property by selecting the module icon an
then via the Property icon

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Restricting Access to VB Code (xl98)

in the vbe, make your project the active project, then Tools="project name"
properties, select the protection tab, select lock for viewing and set a
password.

You have to save the workbook for this to take effect I believe (perhaps
close it and open it again).

--
Regards,
Tom Ogilvy

"MoonWeazel " wrote in message
...
Hi All,

I am hoping someone will be able to help me!

I have a macro and I want to password protect/restrict access to the VB
within the macro.

I have had a look in the help files and come up with zip!

Has anyone got any ideas?

Thanks in advance!

MoonWeazel


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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Restricting Access to VB Code (xl98)

Mr. MoonWeazel sir,

Try Password protecting you VB. Within the Visual Basic
Editor, goto Tools:VBA Project Properties ... Protection:
Enter your Password

HTH
Owen

-----Original Message-----
Hi All,

I am hoping someone will be able to help me!

I have a macro and I want to password protect/restrict

access to the VB
within the macro.

I have had a look in the help files and come up with zip!

Has anyone got any ideas?

Thanks in advance!

MoonWeazel


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

.

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
restricting access using a macro Popeye the powerman[_2_] Excel Worksheet Functions 3 March 21st 09 07:16 AM
Restricting Access to Parts of worksheet confused from Ireland Excel Worksheet Functions 1 October 16th 07 12:53 AM
restricting access to a worksheet? C.East Excel Discussion (Misc queries) 2 April 5th 06 10:02 PM
Restricting access to workbook Jeff Excel Programming 1 December 17th 03 05:14 PM
restricting access to workbook pam Excel Programming 1 December 12th 03 08:31 PM


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