#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sharing in Excel

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default Sharing in Excel

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
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
Sharing Excel Online Anthony[_3_] Excel Discussion (Misc queries) 0 June 21st 07 10:05 PM
sharing an Excel file Ishay Tal Excel Discussion (Misc queries) 0 November 22nd 06 04:49 PM
SHARING EXCEL WORKBOOK greenlion Excel Worksheet Functions 0 June 1st 06 09:41 PM
Sharing an Excel Workbook - Help! alexm999 Excel Discussion (Misc queries) 1 March 17th 06 03:27 AM
Sharing Excel Workbooks JDC Excel Discussion (Misc queries) 2 January 29th 06 07:01 AM


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