recently I've always pulled data from the previous month. because of the new year I'm getting the error message it's out of range. How can I get it to back to DEC.08 now that were in Jan.09. It worked find just going back one month how can it go back to DEC.08
strName = UCase(MonthPeriod(Month(Date) - 1))
strName = UCase(MonthPeriod(Month(Date) - 1))