C
crapit
Is there any excel function to check whether the worksheet is protected?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.