Hi,
I have the below code. Is there a way to amend such that the user is forced to enter a valid date in the dd/mm/yyyy format (With the / included in between);
Dim Ans As Date
Ans = InputBox("Enter date in format dd/mm/yyyy")
Range("A1").Value = Ans
Thanks
I have the below code. Is there a way to amend such that the user is forced to enter a valid date in the dd/mm/yyyy format (With the / included in between);
Dim Ans As Date
Ans = InputBox("Enter date in format dd/mm/yyyy")
Range("A1").Value = Ans
Thanks