Hello ladydubs,
I have written a UDF to count the hits. If a cell has a comment, the counts the hits by the number of colons in the comment text. Rankings 1 and 2 have the UDF added on the hit sheet for each month. The other rankings need to be filled in. The hits are updated whenever you select the "Hits" sheet.
There is only one macro now to add or edit the comments. I rewrote it and placed in the Workbook_SheetChange event of the ThisWorkbook code module. Having the macro repeated in the Worksheet_Change event for each worksheet is unnecessary.
All the code shown has been added to the attached workbook.
Workbook SheetChange Event Code
Worksheet Change Event code for "Hits" Worksheet
Macro Code to Add and Edit Comments in Module1
Macro Code for the UDF in Module1
UDF Example
Bookmarks