Inputbox as Date

A

andibevan

I need to create a user input form that the user can input a date in th
format 9/7/06 - i.e. dd/mm/yy and this is then copied to a cell in th
worksheet in the format = 09-Jul-04

I am stuck as I can only copy the text in the same format as inputted
i.e. it is chown as 9/7/06 which you can not perform date calculation
on.

Any help on this would be much appreciated

Ta

And
 
N

Norman Jones

Hi Andi,

res = InputBox("Enter date")
res = Format(res, "dd-mmm-yy")
MsgBox res
 
Top