Please always use the code button; I have applied it to our code and doesn't it look better Please avoid coloured text; orange is particularly difficult to read, so I changed everything to normal colours.
Please explain what happens. We can only help if we know the details. Where do the numbers 21 and 252 come from? I can just about see that there might be 21 working days in a month, but that would make 260 Mondays to Fridays in a year. Which values correspond to 21 and 252 in that array?