I've got a spreadsheet with 3 tabs - Master X, Master Y and Master Z.
I'd like these tabs to automatically duplicate at midnight, and be renamed with the date they're copied in the following format - Master X 23/07.
Preferably these master tabs would be hidden, and then old tabs duplicated the previous date would automatically be hidden - so on any given day, there would only be today's 3 tabs visible.
The process is the following:
- calculate the date of today and yesterday according to the format: DD/MM,
- Find the master sheets and duplicate them
- rename the newly created sheets with the today date,
- hide the yesterday sheets,
- create a daily trigger to make this process automated.
Would anyone be able to support with a script which actions all of the above please?