erik.van.geit
MrExcel MVP
- Joined
- Feb 1, 2003
- Messages
- 17,832
Hi, gurus,
running this
I get
1. 5/07/05 ("European" format)
2. 7/5/2005 ("American" format)
NO third box
It's a very obvious formatproblem
what to do ?
can somebody point me to a good webpage or thread on this subject?
kind regards,
Erik
EDIT: just added a "Not" at the end of the code
running this
Code:
Sub test()
MsgBox Date
ReportDate = Application.InputBox("Please enter report date", "REPORT DATE", Date)
'click OK
Range("A1") = ReportDate
Set c = Range("A1").Find(ReportDate)
If Not c Is Nothing Then MsgBox c
End Sub
I get
1. 5/07/05 ("European" format)
2. 7/5/2005 ("American" format)
NO third box
It's a very obvious formatproblem
what to do ?
can somebody point me to a good webpage or thread on this subject?
kind regards,
Erik
EDIT: just added a "Not" at the end of the code