Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default sharing excel sheet with multiple users, but other users cant see

hello,
i'm working in project managment department, my Colleagues controls
different types of project, for example person1 controls the tourism sector
projects, person2 controls agriculture projects, etc..
so i want to share an excel document with multiple users, which everyone
fills only the information concerned with his sector. meanwhile user1 cant
modify user2's document but at the end i need to have a master document that
reflects all the data from these documents.
for more clarification, when user1 fills the required feilds. and user2
fills also it will directly reflect to my master document, but user1 cant see
user2.

--
with regards
L.B
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default sharing excel sheet with multiple users, but other users cant see

Hi,
In a similar situation what I did I create different tabs for each user to
enter the information then in each tab I right click in the mouse, view code
and copy this


Private Sub Worksheet_Activate()
Dim strPassword As String
On Error Resume Next
Me.Protect Password:="MANAGER"
Me.Columns.Hidden = True

strPassword = InputBox("Enter password to access DATA sheet")

If strPassword = "" Then
ActiveSheet.Visible = False
Worksheets("Menu").Select
Exit Sub
ElseIf strPassword < "MANAGER" Then
MsgBox "Password Incorrect "
ActiveSheet.Visible = False
Worksheets("Menu").Select
Exit Sub
Else
Me.Unprotect Password:="MANAGER"
Me.Columns.Hidden = False
End If
Range("a1").Select

On Error GoTo 0
End Sub

Private Sub Worksheet_Deactivate()
On Error Resume Next
Me.Columns.Hidden = True
On Error GoTo 0
End Sub

Then create a button in a Menu tab for the user to go to their tab to enter
the information, when hitting the button it will ask for the password you
enter in the above code in my example MANAGER. that will prevent other users
to modify or enter information in the wrong tab. Don't forget to protect your
VBA , the password is in the code
"lana.b" wrote:

hello,
i'm working in project managment department, my Colleagues controls
different types of project, for example person1 controls the tourism sector
projects, person2 controls agriculture projects, etc..
so i want to share an excel document with multiple users, which everyone
fills only the information concerned with his sector. meanwhile user1 cant
modify user2's document but at the end i need to have a master document that
reflects all the data from these documents.
for more clarification, when user1 fills the required feilds. and user2
fills also it will directly reflect to my master document, but user1 cant see
user2.

--
with regards
L.B

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default sharing excel sheet with multiple users, but other users cant

Thank u for u kindness, im gonna try now and refer back to u .
many thx
--
with regards
L.B


"Eduardo" wrote:

Hi,
In a similar situation what I did I create different tabs for each user to
enter the information then in each tab I right click in the mouse, view code
and copy this


Private Sub Worksheet_Activate()
Dim strPassword As String
On Error Resume Next
Me.Protect Password:="MANAGER"
Me.Columns.Hidden = True

strPassword = InputBox("Enter password to access DATA sheet")

If strPassword = "" Then
ActiveSheet.Visible = False
Worksheets("Menu").Select
Exit Sub
ElseIf strPassword < "MANAGER" Then
MsgBox "Password Incorrect "
ActiveSheet.Visible = False
Worksheets("Menu").Select
Exit Sub
Else
Me.Unprotect Password:="MANAGER"
Me.Columns.Hidden = False
End If
Range("a1").Select

On Error GoTo 0
End Sub

Private Sub Worksheet_Deactivate()
On Error Resume Next
Me.Columns.Hidden = True
On Error GoTo 0
End Sub

Then create a button in a Menu tab for the user to go to their tab to enter
the information, when hitting the button it will ask for the password you
enter in the above code in my example MANAGER. that will prevent other users
to modify or enter information in the wrong tab. Don't forget to protect your
VBA , the password is in the code
"lana.b" wrote:

hello,
i'm working in project managment department, my Colleagues controls
different types of project, for example person1 controls the tourism sector
projects, person2 controls agriculture projects, etc..
so i want to share an excel document with multiple users, which everyone
fills only the information concerned with his sector. meanwhile user1 cant
modify user2's document but at the end i need to have a master document that
reflects all the data from these documents.
for more clarification, when user1 fills the required feilds. and user2
fills also it will directly reflect to my master document, but user1 cant see
user2.

--
with regards
L.B

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default sharing excel sheet with multiple users, but other users cant

Dear Eduardo
refering to ur code, why if i entered a wrong password the sheet
disappeared, and in the menu tab when i add a button shall i put the same code
--
with regards
L.B


"Eduardo" wrote:

Hi,
In a similar situation what I did I create different tabs for each user to
enter the information then in each tab I right click in the mouse, view code
and copy this


Private Sub Worksheet_Activate()
Dim strPassword As String
On Error Resume Next
Me.Protect Password:="MANAGER"
Me.Columns.Hidden = True

strPassword = InputBox("Enter password to access DATA sheet")

If strPassword = "" Then
ActiveSheet.Visible = False
Worksheets("Menu").Select
Exit Sub
ElseIf strPassword < "MANAGER" Then
MsgBox "Password Incorrect "
ActiveSheet.Visible = False
Worksheets("Menu").Select
Exit Sub
Else
Me.Unprotect Password:="MANAGER"
Me.Columns.Hidden = False
End If
Range("a1").Select

On Error GoTo 0
End Sub

Private Sub Worksheet_Deactivate()
On Error Resume Next
Me.Columns.Hidden = True
On Error GoTo 0
End Sub

Then create a button in a Menu tab for the user to go to their tab to enter
the information, when hitting the button it will ask for the password you
enter in the above code in my example MANAGER. that will prevent other users
to modify or enter information in the wrong tab. Don't forget to protect your
VBA , the password is in the code
"lana.b" wrote:

hello,
i'm working in project managment department, my Colleagues controls
different types of project, for example person1 controls the tourism sector
projects, person2 controls agriculture projects, etc..
so i want to share an excel document with multiple users, which everyone
fills only the information concerned with his sector. meanwhile user1 cant
modify user2's document but at the end i need to have a master document that
reflects all the data from these documents.
for more clarification, when user1 fills the required feilds. and user2
fills also it will directly reflect to my master document, but user1 cant see
user2.

--
with regards
L.B

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 macros with other users DNader Excel Discussion (Misc queries) 3 June 26th 08 06:24 PM
Sharing an Excel file among 3-5 users jsky Excel Discussion (Misc queries) 3 November 13th 07 01:57 AM
Multiple Users in One Sheet nabanco Excel Worksheet Functions 4 July 20th 07 11:40 PM
sharing workbook for multiple users Mohammed Excel Worksheet Functions 0 March 2nd 07 11:33 PM
sharing a workbook and incorporating changes from multiple users mprible Excel Worksheet Functions 0 July 27th 05 07:34 PM


All times are GMT +1. The time now is 08:52 AM.

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"