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

On Sunday, 7 January 2018 09:16:05 UTC+13, bill k wrote:
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


Garry,
We want to be able to enter dates at random between September last year or for early Jan this year.
Bill K