Hi,
I have an existing workbook of sheets ordered in decreasing dates (by business day) as such: [ 20221221 ] [ 20221220 ] [ 20221216 ] [ 20221215 ].
With each new day I will paste a new sheet of data into that workbook as such: [ 20221222 ] [ 20221221 ] [ 20221220] [ 20221216 ] [ 20221215 ]
How can I write a script so that once I have pasted that sheet into the workbook (which is extracted from my external database as Sheet1) it is renamed to the date one business day after the previous sheet (i.e. the sheet to the right -> [ 20221221 ] in the above example)?
MANY THANKS!!
I have an existing workbook of sheets ordered in decreasing dates (by business day) as such: [ 20221221 ] [ 20221220 ] [ 20221216 ] [ 20221215 ].
With each new day I will paste a new sheet of data into that workbook as such: [ 20221222 ] [ 20221221 ] [ 20221220] [ 20221216 ] [ 20221215 ]
How can I write a script so that once I have pasted that sheet into the workbook (which is extracted from my external database as Sheet1) it is renamed to the date one business day after the previous sheet (i.e. the sheet to the right -> [ 20221221 ] in the above example)?
MANY THANKS!!