Hello all,
I have a file with multiple pages and which will have two different type of users:
1. the one updating the drivers behind the calculations (mappings sheets)
2. the ones using the final information ( pivot and chart sheets)
I am trying to segment the file so that if there is a reading user (number 2) he will see only the pivot and chart sheets. But if the user is a super user (number 1) he/she will qlik on a button and input a passoword to show the drivers sheets. Once he/she is done, he/she will qlik the other button to hide the drivers sheets.
The objective is to reduce the number of information diplayed to users (I had users deleting mapping sheets and thus generating issues with the file) and thus making it easier to read.
So far I was only able to do this (with the help of the forum previous questions). The issue is this one just leaves the index (welcome sheet) displayed, and I need to have index, sheet 1 and sheet 2 displayed. After that I want to add a button that enables the user to see the drivers if needed.
I am not good at macros and I am getting very confused so I would really appreciate any help
Thanks.
I have a file with multiple pages and which will have two different type of users:
1. the one updating the drivers behind the calculations (mappings sheets)
2. the ones using the final information ( pivot and chart sheets)
I am trying to segment the file so that if there is a reading user (number 2) he will see only the pivot and chart sheets. But if the user is a super user (number 1) he/she will qlik on a button and input a passoword to show the drivers sheets. Once he/she is done, he/she will qlik the other button to hide the drivers sheets.
The objective is to reduce the number of information diplayed to users (I had users deleting mapping sheets and thus generating issues with the file) and thus making it easier to read.
So far I was only able to do this (with the help of the forum previous questions). The issue is this one just leaves the index (welcome sheet) displayed, and I need to have index, sheet 1 and sheet 2 displayed. After that I want to add a button that enables the user to see the drivers if needed.
Code:
Private Sub Workbook_Open()Dim wsSheet As Worksheet
Application.ScreenUpdating = False
For Each wsSheet In Worksheets
If wsSheet.Name = "Index" Then
Else
wsSheet.Visible = False
End If
Next wsSheet
Application.ScreenUpdating = True
End Sub
I am not good at macros and I am getting very confused so I would really appreciate any help
Thanks.