Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have buttons which are used to navigate between my sheets.
How can I change the color of the button according to the sheet I'm in?
Thanks,
Boris
using the GetActiveSheetId() you can know what is your current sheet, use it to change the color of the button, go to button properties, background color, base color, calculated: and there you can put for example if (GetActiveSheetId() = 'Document\SH01', Red())
using the GetActiveSheetId() you can know what is your current sheet, use it to change the color of the button, go to button properties, background color, base color, calculated: and there you can put for example if (GetActiveSheetId() = 'Document\SH01', Red())
This is a nice one. It automatically assigns button colors based on the sheet ID. Adjust the INLINE table in the script and add a fourth color. Then on the third sheet, select rightmousemenu->Copy sheet.
TADA!