Display previous month

M

Melissa

I think this is a simple question. I want to display the
previous month in a report header. The report content
contains data from last month, so I want the header to
say "August Totals" if this month is Sept.

Thanks!
Melissa
 
D

Dirk Goldgar

Melissa said:
I think this is a simple question. I want to display the
previous month in a report header. The report content
contains data from last month, so I want the header to
say "August Totals" if this month is Sept.

Thanks!
Melissa

If you're basing this on the current system date, you could use a
controlsource expression like this:

=Format(DateAdd("m", -1, Date()), "mmmm") & " Totals"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top