Worksheet.SelectRange method

Selects a range.

public void SelectRange(int startRow, int startColumn, int totalRows, int totalColumns, 
    bool removeOthers)
Parameter Type Description
startRow Int32 The start row.
startColumn Int32 The start column
totalRows Int32 The number of rows.
totalColumns Int32 The number of columns
removeOthers Boolean True means removing other selected range and only select this range.

See Also