migrated functionality to Spreadsheet::selectByName