add method

add

Adds a ProtectedRange item to the collection.

Returns

object index.

def add(self, name, start_row, start_column, end_row, end_column):
    ...
ParameterTypeDescription
namestrRange title. This is used as a descriptor, not as a named range definition.
start_rowintStart row index of the range.
start_columnintStart column index of the range.
end_rowintEnd row index of the range.
end_columnintEnd column index of the range.

See Also