DatePart("ww",Date())

Signature
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
> Hi,
>
[quoted text clipped - 4 lines]
>
> Tom
> Hi,
>
[quoted text clipped - 4 lines]
>
> Tom
Look up the DatePart function in VBA help.
DatePart("ww",Date())
Also note that the DatePart function hsa various arguments to set the
first week of the year as well as the first day of the week. January
1st and Sunday are the defaults.

Signature
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Ron - 20 Jul 2006 04:43 GMT
Thanks for the tip, It supposed to be it, but instead of the week number I
get 1/29/1900.
Any ideas?
Thanks,
Tom
>> Hi,
>>
[quoted text clipped - 12 lines]
> first week of the year as well as the first day of the week. January
> 1st and Sunday are the defaults.
John Spencer - 20 Jul 2006 12:49 GMT
That appears to be the conversion of the week number to a date. Are you
formatting the results of the DatePart function to a date format?
> Thanks for the tip, It supposed to be it, but instead of the week number I
> get 1/29/1900.
[quoted text clipped - 19 lines]
>> first week of the year as well as the first day of the week. January
>> 1st and Sunday are the defaults.