I am trying to write a function where I add a number of days or half days to a date. however, I am not sure how to add days of the week (M-F) only when adding days.
I thought that it was newdate=DateAdd("w", 1, indate)
but this seems to just add a single day even if it is adding to friday. I want to do it so that I can pass in 12 or 14 or similar days and t will add that number of working days.
Is there an easy way to do this before I write a big complex function?
thanks
I thought that it was newdate=DateAdd("w", 1, indate)
but this seems to just add a single day even if it is adding to friday. I want to do it so that I can pass in 12 or 14 or similar days and t will add that number of working days.
Is there an easy way to do this before I write a big complex function?
thanks