I used following vba for comment based on cell value, but when sheet is protected its not working (message .. Run time error '91': prompting for debug)
Sub addCommnent()
''that cell is A1
Dim commentTxt As String, commentRng As Range
Set commentRng = Range("B4")
commentTxt = Range("M15").Value...