Hello,
I need a macro/VB Script that will search through calendars over multiple worksheets to see if the certain strings are found and return a message noting the number of occurences of those strings. Also, if an occurence is beyond the first occurence the following year, it will not count that first occurence but add the occurences beyond the first one plus that new occurrence.
For example,
Occurences:
January 14, 2008
June 17, 2008
August 1, 2008
December 24, 2008
Every occurence will output "Person X has 1, 2,.. 4 occurences".
Its now 2009.
Occurences:
January 12, 2009
Output "Person X has 5 occurences."
January 26, 2009
It outputs "Person X has 5 occurences."
Why? Because it is out of range of first occurence.
Lets say next one is August 22, 2009
Outputs "Person X has 4 occurences."
Why? It counts
December 24, 2008
January 12, 2009
January 26, 2009
August 22, 2009
Understand? Thanks in advance! :)
Configuration: Windows XP Internet Explorer 6.0