Locked Property

See Also         Example         Applies To

True if the object is locked, False if the object can be modified when the sheet is protected. Returns Null if the specified range contains both locked and unlocked cells. Read/write Variant for the Range object; read/write Boolean for all other objects.