BobLoblaws
Programmer
More specifically, does anyone know how I would go about coding this. Here is the pseudo code.
For Each 'Wednesday' IN 2002
' Do Something
Next
Thanks,
For Each 'Wednesday' IN 2002
' Do Something
Next
Thanks,
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
dim i as integer
dim d as integer
'start the date at the first of the year
i = '1-Jan-2002'
'find out what day of the week it currently is.
'In this case I have started the week at Wednesday
d = Weekday(i, vbWednesday)
'move the date forward to wednesday(I am totally unsure
'of this math and its way to early in the morning to
'actually figure it out, and the coffe machines broken
'here so...I hope you get the idea.
i = i + 7 - d
'do stuff while it's 2002
while (year(i) = 2002)
'Do Something
'increment date by 1 week
i = i + 7
wend
d = weekday('1-Jan-2002', vbThursday)
i = i + 7 - d