Week Number

J

JimW

I have a condition in a macro that tests for the 1st week
of July, (any year).
The closest I can come to identifying it is
"(Datepart,"ww",(Date())=26". However, in leap year, the
number changes from 26 to 27.
Is there a simpler method to identify "First week of July"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top