salfordchameleon
New Member
- Joined
- Aug 3, 2012
- Messages
- 41
I'm using an input box in a do loop to ask for a date to be input UK style in the format DD/MM/YYYY.
I have the cell where it will be pasted to formated as Date Type *14/03/2001.
However when say, 11/02/2013 is typed into the input box, 02/11/2013 is pasted into the required cell.
the loop I am using is a simple one as I'm still learning :-
Do
WEEK = InputBox(Prompt:="Please Enter Current Week" & vbCr & "In The Format DD/MM/YYY")
If WEEK Like "??/??/????" Then
Exit Do
Else
MsgBox "Input Date In The DD/MM/YYYY Format"
End If
Loop
Then I use the following to paste
Range("B10").Value = WEEK
Any help please.
Thanks.
I have the cell where it will be pasted to formated as Date Type *14/03/2001.
However when say, 11/02/2013 is typed into the input box, 02/11/2013 is pasted into the required cell.
the loop I am using is a simple one as I'm still learning :-
Do
WEEK = InputBox(Prompt:="Please Enter Current Week" & vbCr & "In The Format DD/MM/YYY")
If WEEK Like "??/??/????" Then
Exit Do
Else
MsgBox "Input Date In The DD/MM/YYYY Format"
End If
Loop
Then I use the following to paste
Range("B10").Value = WEEK
Any help please.
Thanks.