Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I am looking for a good way to capture the YYMM of the last month as a string. My macro runs a monthly process and I would like it to automatically save to monthly directory labeled by the year and month. If I were to run it today, 24-May-2007 I would like the result to be YYMM = "0704". Could someone suggest a way to do this in VBA without relying on computing on a worksheet? Thanks in advance, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date formating yymm | Excel Discussion (Misc queries) | |||
Date arithmetic: adding 1 month to prior end of month date | Excel Worksheet Functions | |||
Sort month/date/year data using month and date only | Excel Discussion (Misc queries) | |||
Determine begin month date from month end date. | Excel Programming | |||
Saving file in the format "YYMM" | Excel Discussion (Misc queries) |