View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default The Monday of the previous week with VBA

=A1-WEEKDAY(A1,2)+1

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Gérard Ducouret" wrote in message
...
Hello,

I have a date from Monday to Friday in the current week. I need to

calculate
the date of the Monday of the previous week in VBA.
How can I do that ?
Thanks a lot

Gérard