Hi all
I am looking for a way to change the colour of a command button, based on a value. I have some code running on load up to check certain values and carry out functions accordingly. One of the checks prompts the user to check a certain sheet if the criteria is met, but I would also like it to highlight the Command button (used to navigate to sheet) RED until the issue has been resolved.
I have found code to run on click, but it won't work as part of the 'on load' code ?
Has anyone got a simple bit of code to change colours from any Sub?
Thanks in advance as always
I am looking for a way to change the colour of a command button, based on a value. I have some code running on load up to check certain values and carry out functions accordingly. One of the checks prompts the user to check a certain sheet if the criteria is met, but I would also like it to highlight the Command button (used to navigate to sheet) RED until the issue has been resolved.
I have found code to run on click, but it won't work as part of the 'on load' code ?
Has anyone got a simple bit of code to change colours from any Sub?
Thanks in advance as always