I've got the current code to open a google spreadsheet
var spreadSheet = SpreadsheetApp.openById(docId);
Which works fine for converted google spreadsheets.
But how do I open an unconverted xls file using the google sheets app? (It defaults to using the google drive viewer when I do it like above mentioned)
Thanks