I have! also one to return a date from y and week number only (moday being first day of week):o)
'Return a date from a given year and week Function yw2Date(y As Integer, w As Integer) As Date '1 = monday (vbMonday = 2) yw2Date = ywd2Date(y, w, 1)
End Function
'Return a date from a given year week and day of week. Function ywd2Date(y As Integer, w As Integer, d As Integer) As Date ywd2Date = DateAdd("d", d - Weekday(DateValue(y & "-01-01"), vbMonday), DateAdd("ww", w - 1, DateValue(y & "-01-01")))
Hi Blady Ref: "You are my sweetheart!!!!" hope you are a b(lady)!
Ref: ikke fler points. 1: Dont place any questions 2: Wait until you have saved enough (5 points a day) 3: Answer questions and earn some
mvh Terry
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.