Hi all,
Please find attached the file I am working on - any help would be appreciated
I would like to password protect three tabs in my workbook for "User1", "User2" and "User3". This is so users cannot delete any of the data once it has been submitted into the tab.
However, I would still like the users to be able to view the tabs, but not delete or copy and paste the data.
I have found the following code; but it does not allow the user to add any more data to the tab. Any ideas?
Please find attached the file I am working on - any help would be appreciated

I would like to password protect three tabs in my workbook for "User1", "User2" and "User3". This is so users cannot delete any of the data once it has been submitted into the tab.
However, I would still like the users to be able to view the tabs, but not delete or copy and paste the data.
I have found the following code; but it does not allow the user to add any more data to the tab. Any ideas?
Code:
Sub Protect_Example2()
' Loop through all sheets in the workbook
For i = 1 To Sheets.Count
' Activate each sheet in turn.
Sheets(i).Activate
response = MsgBox("Do you want to protect this sheet?", vbYesNo)
If response = vbYes Then
ActiveSheet.Protect password:="larry", DrawingObjects:=True, _
Contents:=True, Scenarios:=True
ElseIf response = vbNo Then
MsgBox ("Sheet not protected")
End If
Next i
End Sub