Sheet.add() compares the name argument to the lowercase version of each sheetname. It should compare the lowercase version of the name argument to the lowercase version of each sheetname. Opening a brand new workbook and trying Sheet.add('Sheet1') throws an error.
Sheet.add() compares the name argument to the lowercase version of each sheetname. It should compare the lowercase version of the name argument to the lowercase version of each sheetname. Opening a brand new workbook and trying Sheet.add('Sheet1') throws an error.