Essentially, I'm trying to do what my bit of sample code implies. Here's the rundown:
I have a worksheet with a range of dates in the format "yyyy.mm", but the dates themselvse are formatted as numbers, because that's how they're output by a SAS program. I want to have a macro look at the last of the dates, the most recent, and compare it to today's date, then tell me how many months separate the two dates.
Right now, I see errors in my code's logic.
Here's my new attempt:
I think that might work. I'm trying to hash out a problem with For Each ... Next loops right now.
Bookmarks