Hi!
Figure out what is a day 01/01/xxxx. Add required number of days to it to get to Friday. Then add 7 days to it in a loop till the end of the year. Note that {date value} + {number} = {date value increased by number of days}. Use DOW() function to get day of week for given date.
HTH.
>Hi all,
>
>I want to create an array with a list of week ending dates (Friday).
>Anyone know the easiest way of doing this?
>
>Thanks in advance,
>
>Ger.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.