These codes are for use in Google Spreadsheets aka Macros or VBA in MS Excel