Where do I place this code in the spreadsheet?