Requirement: I have an excel file with multiple tabs which is being updated monthly by many users. I want to create a password for each tab so that each user can only view and edit their own tab. Limitation : Protect Sheet Function in Excel is notoriously weak. Solution : Use VBA code to set up password on each tab. Protecting Multiple Tabs with Different Passwords Let's say I have three teams which need to report their daily sales in one excel spreadsheet. The three teams are named Team Apple, Team Watermelon and Team Grapes. First, let's create a new tab for each one of them. 1. Add three new tabs and rename each according to the team name. 2. Create a column for 'Name', 'Item', 'Sales' and 'Date' for each team. 3. Click Visual Basic from the 'Developer' tab. 4. From Sheet 2 to Sheet 4, copy and paste the VBA code below: VBA Code: Private Sub Worksheet_Activate() Dim strPassword As String 'On Error Resume Next M
How do I convert email to google sheets I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
ReplyDeleteThanks for your feedback Kinza. I'm glad you find this blog helpful. Let me know if you have any subjects you'd like to be discussed and published here. Thank you!
Delete