I have a spreadsheet with dates in the format mmm-yy. I need to determine (calculate) the month that occurs 14 months prior to this date (I only need the month and year, not a specific date). Then I will need this 'early' date in the same format, mmm-yy, to be used later in the VBA program.
Let's say "Aug-05" is in cell A1. Excel will calculate (in cell B1, for example) the 'early' date using the formula: A2 - 30*14. But this formula will not work in VB.
Any suggestions?
Let's say "Aug-05" is in cell A1. Excel will calculate (in cell B1, for example) the 'early' date using the formula: A2 - 30*14. But this formula will not work in VB.
Any suggestions?