G
Guest
Hello,
I have a report which shows repair information for our fleet of vehicles.
It is presented quarterly. I would like to be able to display the last date
of previous quarter in my header. Thus, when I print out the third quarter
report today, the header will show 9/30/2005. And on January 17, when I
print out the fourth quarter report, it will show 12/31/2005. Here's what
I've got so far, but I can already see two fatal flaws. One is the year and
the second is the day.
=DateSerial(Year(Date()),3*(DatePart("q",Date())-1),30)
Does any one have any ideas on a better way to do this?
Thanks!
Melinda
I have a report which shows repair information for our fleet of vehicles.
It is presented quarterly. I would like to be able to display the last date
of previous quarter in my header. Thus, when I print out the third quarter
report today, the header will show 9/30/2005. And on January 17, when I
print out the fourth quarter report, it will show 12/31/2005. Here's what
I've got so far, but I can already see two fatal flaws. One is the year and
the second is the day.
=DateSerial(Year(Date()),3*(DatePart("q",Date())-1),30)
Does any one have any ideas on a better way to do this?
Thanks!
Melinda