I need an office script to work in a power automate flow for an excel workbook.
Workbook has multiple worksheets. Master sheet has 2 tables. There is a corresponding worksheet for each table row. The name of each worksheet will be in column A of each table. Want the script to find the worksheet that corresponds to that row and update its tab color to match the background colour of the cell in column G. It must do this for each row of both tables.
Have not tried anything as am still unfamiliar with office script
Please try.
Microsoft documentation: