Hi all,
I am trying to calculate the week number on a given date. The following function I obtained from the net;
This function seems to output the correct value when i do MsgBox WEEKNR(Date) but when i substitute the excel date function for a date of my own it seems to give me a ByRef error.![]()
Please Login or Register to view this content.
The date in the cell is in format 15032006 and i was going the following;
and the error comes when i do MsgBox WEEKNR(dateget )![]()
Please Login or Register to view this content.
Any ideas guys, loosing my mind today! Thanks
Bookmarks