Reputation: 125
I am trying to display selected month, current month and last month names on my report. I am using
=Parameters!Month.Label ---> Jun 2016(selected)
=Format(Now(), "MMM") & " " & Format(Now(), "yyyy") ---> Dec 2016 (current)
=Format(DateAdd("M", -1, Now()), "MMM") & " " & Format(Now(), "yyyy") ---> Nov 2016 (last)
But I need something like(JUNE 2016, DECEMBER 2016, NOVEMBER 2016 ). Any help would be appreciated. Thank you so much in advance.
Upvotes: 6
Views: 22953
Reputation: 3351
=UCase(Format(Now(), "MMM") & " " & Format(Now(), "yyyy"))
=UCase(Format(DateAdd("M", -1, Now()), "MMM") & " " & Format(Now(), "yyyy"))
Upvotes: 17