there is no function to count highlighted cells, you could use vbacode to do it tho'