ProtectedRangeCollection.Add

ProtectedRangeCollection.Add method

Adds a ProtectedRange item to the collection.

public int Add(string name, int startRow, int startColumn, int endRow, int endColumn)
ParameterTypeDescription
nameStringRange title. This is used as a descriptor, not as a named range definition.
startRowInt32Start row index of the range.
startColumnInt32Start column index of the range.
endRowInt32End row index of the range.
endColumnInt32End column index of the range.

Return Value

object index.

See Also