Hello,
I have a function to highlight cells in the spreadsheet that have a specific value and then count the total number for cell that are highlighted by using the formula: =CountColorIf(cell number with the color to match, range of cells to check).
When I run the function, the cells highlight correctly but the total number of highlighted cells does not display. If will only display if I copy and paste the CountColor formula into it's current cell. The copy\paste seems to "refresh" the cell and then it will display the formula. I have tried using Worksheet(worksheet name).Calculate but this does not seem to work. Any suggestions?
Thanks,
Jenifer
I have a function to highlight cells in the spreadsheet that have a specific value and then count the total number for cell that are highlighted by using the formula: =CountColorIf(cell number with the color to match, range of cells to check).
When I run the function, the cells highlight correctly but the total number of highlighted cells does not display. If will only display if I copy and paste the CountColor formula into it's current cell. The copy\paste seems to "refresh" the cell and then it will display the formula. I have tried using Worksheet(worksheet name).Calculate but this does not seem to work. Any suggestions?
Thanks,
Jenifer