Skip to content

Instantly share code, notes, and snippets.

@Schniz
Created June 2, 2020 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Schniz/34fc4af6977b1866ff1b3f0193b89284 to your computer and use it in GitHub Desktop.
Save Schniz/34fc4af6977b1866ff1b3f0193b89284 to your computer and use it in GitHub Desktop.
function SetUUID() {
var spreadsheet = SpreadsheetApp.getActive();
const range = spreadsheet.getActiveRange()
range.setValues(range.getValues().map(v => v.map(() => Utilities.getUuid())));
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment