Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Locking cells only for certain users

Is it possible to lock up certain cells in a spreadsheet to certain
users if the workbook is saves on a network? For example, Jim has
access to make changes to column D while Bill has access to make
changes to column G?

  #2   Report Post  
Posted to microsoft.public.excel.misc
tony h
 
Posts: n/a
Default Locking cells only for certain users


you can use an event like the workbook.open to execute some code that
changes the protection on the cells dependant upon the user. The user
can be determined using the environ("username") function.


you also need to protect the VBA

hope this helps


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=501658

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
How can I protect cells and allow users to insert/delete Jammy Dodger Excel Worksheet Functions 1 January 12th 06 10:20 AM
Locking certain cells Scott Excel Discussion (Misc queries) 1 September 20th 05 03:26 PM
locking cells based on results at runtime aken Excel Worksheet Functions 3 June 22nd 05 02:01 PM
Help on locking cells B Excel Discussion (Misc queries) 1 January 28th 05 04:17 AM
Locking a cell's format, but not value Tim Laplaca Excel Discussion (Misc queries) 2 January 17th 05 07:05 PM


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