Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to identify year within a date
I need help trying to identify the year within a date written either in
mm/dd/yyyy or m/d/yyyy format. If the date is a particular year then my code will do one thing but if it is another date it will do something else. Please help! Thanks! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro to identify year within a date
If Year(MyDate) = 2005 Then
Do Stuff Else Do Other Stuff End If "smitty24" wrote in message ... I need help trying to identify the year within a date written either in mm/dd/yyyy or m/d/yyyy format. If the date is a particular year then my code will do one thing but if it is another date it will do something else. Please help! Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Determine year over year date for comparison | Excel Worksheet Functions | |||
identify first date a record appears | Excel Worksheet Functions | |||
Year-to-date year to date formula | Excel Worksheet Functions | |||
Date formula: return Quarter and Fiscal Year of a date | Excel Discussion (Misc queries) | |||
Identify date in 2 rows | Excel Worksheet Functions |