This is My macro:
I want to count each cell depending on the colour for a particular range. Below is the example of the macro used:
The bracket in red is the range I am searching for the colour specified in cell B1.
This "CountByResult" only works when I click on the cell that contains the macro formula above and press enter.
What I want to happen is for the cell to update automatically as I am changing the colours of a lot of cells and have about 36 colomns with similar formulas using "CountByResult". Therefore, I want it to be fast and not tedious to keep clicking cells and pressing enter.
I want to count each cell depending on the colour for a particular range. Below is the example of the macro used:
The bracket in red is the range I am searching for the colour specified in cell B1.
This "CountByResult" only works when I click on the cell that contains the macro formula above and press enter.
What I want to happen is for the cell to update automatically as I am changing the colours of a lot of cells and have about 36 colomns with similar formulas using "CountByResult". Therefore, I want it to be fast and not tedious to keep clicking cells and pressing enter.