Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that merges multiple spreadsheets for input into a
forecast. The dates in the initial spreadsheet are in the format "DEC-12". The forecast requires the dates in the format "12/12/2006". I fixed that but the problem is this. Right now there are dates on for January but my macro creates the dates as 1/1/2006 when it should be 1/1/2007. Any thoughts on a formatting method apart from a brute force programming solution checking to see if the data covers two years (which I'm already working on)? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When the year isn't specified, Excel assumes the current year. So you need
to tell Excel you want January of next year, or you have to program something. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Jason Lepack" wrote in message s.com... I have a macro that merges multiple spreadsheets for input into a forecast. The dates in the initial spreadsheet are in the format "DEC-12". The forecast requires the dates in the format "12/12/2006". I fixed that but the problem is this. Right now there are dates on for January but my macro creates the dates as 1/1/2006 when it should be 1/1/2007. Any thoughts on a formatting method apart from a brute force programming solution checking to see if the data covers two years (which I'm already working on)? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Switching ODBC sources in Excel 2007 | Excel Discussion (Misc queries) | |||
Switching from 2003 to 2007 | Excel Discussion (Misc queries) | |||
2006 increments to 2007 Automatically | Excel Discussion (Misc queries) | |||
Excel 2007 MS Query prompt yields Syntax error | Excel Discussion (Misc queries) | |||
How do I change a date format 3/14/2006 to 3-14-2006 in Excel 2002 | Excel Discussion (Misc queries) |