Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to share a excel file on my PC such that user 1 on lan can edit
some columns (Lets say Column A & column B) but cannot edit other columns and user 2 can edit some other columns (lets say column C & column D) but cannot edit other columns. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Soni,
Your problem is user identification. Can you rely on user input for identification, then a simple VB dialog box suffices. Alternative can be to read the username under Tools, Options, General (VB code "Application.Username") Based on the id, you can protect the cells using ActiveWorkbook.Unprotect ActiveSheet.Unprotect Columns("A:C").Locked = False ActiveSheet.Protect ActiveWorkbook.Protect A simple "Tools - Macro - Record" will give you the full code. Another alternative can be that you create a button that switches between entry only in Col A:C and entry only in Col D:F "soni" wrote: I want to share a excel file on my PC such that user 1 on lan can edit some columns (Lets say Column A & column B) but cannot edit other columns and user 2 can edit some other columns (lets say column C & column D) but cannot edit other columns. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sharing Excel Online | Excel Discussion (Misc queries) | |||
sharing an Excel file | Excel Discussion (Misc queries) | |||
SHARING EXCEL WORKBOOK | Excel Worksheet Functions | |||
Sharing an Excel Workbook - Help! | Excel Discussion (Misc queries) | |||
Sharing Excel Workbooks | Excel Discussion (Misc queries) |