Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jal Jal is offline
external usenet poster
 
Posts: 4
Default Password Protecting Macros

In Excel 2003. how can I restrict different users within the same file from
running the same macro? Is there a way to password protect a macro so that
only the designated user with the correct password can run the macro
(currently I'm using buttons to initiate the macros)?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Password Protecting Macros

There are two schoolso f thought on getting the user name, some like the
'Environ' method, some prefer to to use an API call, as it can be a little
more secure. There is an example of using the API method at
http://www.nwarwick.co.uk/Finding_User_Name.htm

See which you prefer.

HTH

Neil
www.nwarwick.co.uk

"JAL" wrote:

In Excel 2003. how can I restrict different users within the same file from
running the same macro? Is there a way to password protect a macro so that
only the designated user with the correct password can run the macro
(currently I'm using buttons to initiate the macros)?

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
Password Protecting a workbook Maryann Excel Discussion (Misc queries) 2 April 14th 10 03:10 PM
password protecting worksheet MelB Excel Discussion (Misc queries) 2 October 11th 07 04:01 PM
Password Protecting Nick Excel Discussion (Misc queries) 6 June 30th 05 12:06 PM
password protecting macros Saju S Excel Programming 1 September 29th 04 07:24 AM
Password Protecting a Macro Marino13 Excel Programming 1 January 6th 04 04:37 PM


All times are GMT +1. The time now is 10:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"