View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
zSplash zSplash is offline
external usenet poster
 
Posts: 21
Default DateDiff("w") -- problem

Found in the Help documentation for Excel ("DateDiff Function").


"Niek Otten" wrote in message
...
I'm not aware of the "w" or "ww" arguments. Where did you find them
documented?

"zSplash" wrote in message
...
I am trying to count weekdays, using the "w" argument unsuccessfully. I

get
the same value for "w" (weekday) as I do for "ww" (week). What am I

doing
wrong?
Code:
estDays=DateDiff("w", ufm1.Calendar1, ufm1.Calendar2)

TIA