Quick question I have around loops for office script in excel
I want to loop the below code/formatting changes across specific worksheets. I want to be able to select the sheets based on the worksheet name eg. Worksheet name starts with "XYZ", change this formatting etc.
Below is a small example, I have attempted to make this work but it comes up with an error.