C
crapit
Is there any excel function to check whether the worksheet is protected?
RichardSchollar said:Not that I know of, but you can certainly create one using VBA:
Function Check_Protection() As Boolean
Application.Volatile
Check_Protection = Application.Caller.Parent.ProtectContents
End Function
which can then be inserted in a cell like so:
=check_protection()
returns True if protected, False if not.
Hope this helps!
Richard
Hi,
I follow your instruction as per reply. I insert =SheetProtected in 1
of the cell of a worksheet and it return false. But when I protect the
sheet, it still remain false. What is it?
But under option / calculation tab, the radio box checked for automatic. Y
do I need to do manual work?
But under option / calculation tab, the radio box checked for automatic. Y
do I need to do manual work?