Phil Smith
Active Member
- Joined
- Aug 13, 2004
- Messages
- 285
- Office Version
- 365
- Platform
- Mobile
I have come up against a bit of a conundrum.
I received an email that stated:
"This year's July has 5 fridays 5 saturdays and 5 sundays this apparently happens once every 823 years".
Looking throught the Windows calender it appears that it happens in months with 31 months when the 1st of the month falls on a Firday and not just in July.
I would like to start checking back from 1900 until 2099 for months with "5 fridays 5 saturdays and 5 sundays" but am unsure as to how to go about it.
I know this is a completey worthless task and seemingly pointless, but it has me intrigued.
Any solution, VBA or not is welcome!
I received an email that stated:
"This year's July has 5 fridays 5 saturdays and 5 sundays this apparently happens once every 823 years".
Looking throught the Windows calender it appears that it happens in months with 31 months when the 1st of the month falls on a Firday and not just in July.
I would like to start checking back from 1900 until 2099 for months with "5 fridays 5 saturdays and 5 sundays" but am unsure as to how to go about it.
I know this is a completey worthless task and seemingly pointless, but it has me intrigued.
Any solution, VBA or not is welcome!