I have two variables containing dates in the format dd/mm/yy
I want to compare them to each other and find out how many working days there are between them. A working day is Monday to Friday
I need to know if the dates are more then 30 working days apart.
If they are more then 30 working days apart, I need to know by how many and then add those number of days that are over 30 to the first date to give me a new working date.
what should I declare my variables as? Dates?
for example
04/02/14
25/03/14
this is 35 working days apart and so my new date is 11/02/14
I need to do this my a macro but how?
thank you
smiler44
I want to compare them to each other and find out how many working days there are between them. A working day is Monday to Friday
I need to know if the dates are more then 30 working days apart.
If they are more then 30 working days apart, I need to know by how many and then add those number of days that are over 30 to the first date to give me a new working date.
what should I declare my variables as? Dates?
for example
04/02/14
25/03/14
this is 35 working days apart and so my new date is 11/02/14
I need to do this my a macro but how?
thank you
smiler44