Work with Excel excel_select_range Select Excel focus on the specified cells. Call: excel_select_range(string srange); Here: srange is the text address of the Excel cell. Example. Select cells in the current Excel spreadsheet in the range "A2:C4". excel_select_range("A2:C4");