Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

[RESOLVED] IsDate not working as I thought

$
0
0
VS 2012
This is passing an edit. It doesn't seem like it should. Can someone see where I am going wrong?

Code:

If IsDate("01/01/2-13") Then
    MsgBox("Good date")
End If

In the actual code it is getting that value from an Excel column entry.

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>