Thread: date format
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
bill k bill k is offline
external usenet poster
 
Posts: 8
Default date format

Is it possible to use a macro to have excel complete a date dd/mm with the year depending on the month entered.
I.e. if I enter 27/01 it will return 27/01/2018 but if I enter 06/11 it will return 06/11/2017 or If the month is greater than 6 the year will be yyyy -1.
Thanks Bill K