Good Evening from not so sunny UK.
I have a question with regards to using VBA to automatically change the Tab Colours.
I'm an accountant and have several tabs on an excel spreadsheet.
Each Tab represents a line on my Trial Balance. (TB)
I would like my spreadsheet to conditionally format Tabs Based on:
1. Where a TB Line is Zero I do not have to look at that particular tab. (Tab Goes Grey)
2. Where the TB Line has a value that is different to what is in the tab. (Tab Goes YELLOW)
3.Where the TB Line Agrees to what is in the TAB (Tab Changes to GREEN)
I have managed to copy and paste other peoples codes to get the cells to change colour. However they only changed after you visited the particular cell in the tab and it could not read formulas
Each Tab will look up the TB line balance that I dump into sheet 1and subtract that balance from the total of the items in the tab. so that Cell that shows the Difference is essentially what I want the Macro to conditionally format the TABS with.
Hope this makes sense?
Thanks
Adrian
I have a question with regards to using VBA to automatically change the Tab Colours.
I'm an accountant and have several tabs on an excel spreadsheet.
Each Tab represents a line on my Trial Balance. (TB)
I would like my spreadsheet to conditionally format Tabs Based on:
1. Where a TB Line is Zero I do not have to look at that particular tab. (Tab Goes Grey)
2. Where the TB Line has a value that is different to what is in the tab. (Tab Goes YELLOW)
3.Where the TB Line Agrees to what is in the TAB (Tab Changes to GREEN)
I have managed to copy and paste other peoples codes to get the cells to change colour. However they only changed after you visited the particular cell in the tab and it could not read formulas
Each Tab will look up the TB line balance that I dump into sheet 1and subtract that balance from the total of the items in the tab. so that Cell that shows the Difference is essentially what I want the Macro to conditionally format the TABS with.
Hope this makes sense?
Thanks
Adrian