Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
strMonth = CHOOSE(MONTH("04.02.2003"),"January","February","M arch","April"
....) Guido HoloGuides http://hologuides.com/programming/ExcelVBA "Pedro" schrieb im Newsbeitrag ... Hi I have the following code Dim strDate as Date strDate="30/06/2003" I want strMonth to be the same month as the strDate. In this example I want the output of strMonth to be June What code should I write to get it from the strDate? Regards Pedro |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
count month when date is in day/month/year format | Excel Worksheet Functions | |||
Match Month in Date With Month in Header | Excel Worksheet Functions | |||
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) | |||
=VLOOKUP(1,Nationality!B5:B29,IF(MONTH(date)6,MONTH(date)-6, MON | Excel Worksheet Functions |