ich habe als Datum in einer Zelle stehen DEZ 10.
Mit debug.print year("DEZ 10) erhalte ich nicht 2010 sondern 2011.
Was mache ich falsch?
Wie kann ich aus diesem Format, also DEZ 10, NOV 09, MAI08 etc immer das
korrekte jahr ermitteln?
Debug.Print Year(Date) - Year(Date) Mod 1000 + CInt(Right("DEZ 10", 2))
Gruß Tino
| ||||||||||||||||||||||||||||||||||||
|
|