Afternoon all,
I'm manipulating dates and days quite a bit at the moment, and I need to identify the last thursday of whichever month we are currently in - we bill our account customers on this day so ongoing invoices need to be raised with this date in mind. I know I can select manually using a date picker, but going forward i'm trying to automate the closing and opening of some invoices so need to be able to do this automatically. Any help would be appreciated!
I've already got procedure in place for 7,14 or 28 days from date chosen using this code, if it helps give some idea of the context of use:
TIA
Barry
I'm manipulating dates and days quite a bit at the moment, and I need to identify the last thursday of whichever month we are currently in - we bill our account customers on this day so ongoing invoices need to be raised with this date in mind. I know I can select manually using a date picker, but going forward i'm trying to automate the closing and opening of some invoices so need to be able to do this automatically. Any help would be appreciated!
I've already got procedure in place for 7,14 or 28 days from date chosen using this code, if it helps give some idea of the context of use:
Code:
Me.DateDue = DateAdd("y", 14, [DateOut])
TIA
Barry