ProtectedRangeUserType
type ProtectedRangeUserType = CanEdit | CanView | NotView
Description
Specifies the user type of the protected range.
Try It
oProtectedRange.SetAnyoneType("NotView");
type ProtectedRangeUserType = CanEdit | CanView | NotView
Specifies the user type of the protected range.
oProtectedRange.SetAnyoneType("NotView");