Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi,
How do I protect a workbook having a number of sheets (around 50) allowing the user to add a comment. I tried this with the following macro: Sub Protect() Dim ws As Worksheet For Each ws In ThisWorkbook.Worksheets ws.Protect Password:="Protect" Next ws End Sub But it would not allow me to add a "Comment" in the unprotected cells. Kindly help me to create a macro so that I can protect all sheets at one shot and also allow users to add comments in the unprotected cells. Please also note that Iam very new to VBA. Your help is much appreciated, Prashanth KR |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Allowing user to merge cells | Excel Discussion (Misc queries) | |||
Allowing data entry in protected sheets | Excel Discussion (Misc queries) | |||
Unshared workbook allowing write access to more than 1 user | Excel Discussion (Misc queries) | |||
To Protect Excel documents and allowing only few cells to edit | Excel Worksheet Functions | |||
How do I protect my comments from being edited by another user? | Excel Discussion (Misc queries) |