dsheard2015
Board Regular
- Joined
- May 10, 2016
- Messages
- 134
Hello,
I have a very large workbook with approximately 560 worksheets. When the workbook opens, I have a login userform that pops up where the user will enter their username and password. That login info is used to determine which sheets in the workbook can be accessed. All the sheets in the workbook are protected and all sheets have locked and unlocked cells. After the workbook is accessed, the current login username is entered on the master index page in cell 'MASTER INDEX'!AD5.
What I am trying to figure out is how I can make the entire workbook "read only" or non-editable if the name located in 'MASTER INDEX'!AD5 is contained within a named range, "Commander_Login". Obviously, if the name is not in that range then the workbook would need to work as normal.
I'm hoping this is possible. Any help with this is greatly appreciated!
Thanks,
Dave
I have a very large workbook with approximately 560 worksheets. When the workbook opens, I have a login userform that pops up where the user will enter their username and password. That login info is used to determine which sheets in the workbook can be accessed. All the sheets in the workbook are protected and all sheets have locked and unlocked cells. After the workbook is accessed, the current login username is entered on the master index page in cell 'MASTER INDEX'!AD5.
What I am trying to figure out is how I can make the entire workbook "read only" or non-editable if the name located in 'MASTER INDEX'!AD5 is contained within a named range, "Commander_Login". Obviously, if the name is not in that range then the workbook would need to work as normal.
I'm hoping this is possible. Any help with this is greatly appreciated!
Thanks,
Dave