Hello,
I'm using Excel 2003, and i'm having the following problem with calculating days.
A user will type a date in cel A1.
Now some calculating has to be done, and the result has to be placed in cell B1.
Let's say the value in cell A1 is november 1st 2011.
I now need VBA code which adds 10 days to that date.
The VBA code may not count weekends (saturdays and sundays) and may also not
add/calculate any "special" dates stored in a list on another tab/sheet with the name "Holidays" (range A10:A50).
For this example there are 2 dates (November 3rd and November 9th) which are in
that 10 day range and are in that list.
To the date to be calculated has to be november 17th 2011.
Is there a way to do this in Excel VBA 2003 ?
Thanks for helping.
Flash0220
I'm using Excel 2003, and i'm having the following problem with calculating days.
A user will type a date in cel A1.
Now some calculating has to be done, and the result has to be placed in cell B1.
Let's say the value in cell A1 is november 1st 2011.
I now need VBA code which adds 10 days to that date.
The VBA code may not count weekends (saturdays and sundays) and may also not
add/calculate any "special" dates stored in a list on another tab/sheet with the name "Holidays" (range A10:A50).
For this example there are 2 dates (November 3rd and November 9th) which are in
that 10 day range and are in that list.
To the date to be calculated has to be november 17th 2011.
Is there a way to do this in Excel VBA 2003 ?
Thanks for helping.
Flash0220