ProtectedRange.IsProtectedWithPassword

ProtectedRange.IsProtectedWithPassword property

Indicates whether the worksheets is protected with password.

public bool IsProtectedWithPassword { get; }

See Also