|
-
Oct 25th, 2004, 07:18 AM
#1
Thread Starter
Member
Splendid IsDate() behaviour!
Caught out by VBA this morning...
Returns "True". However,
also returns True. The same happens with 0A,1A,2A,3A, ... to 9A. You can have any number of spaces after the initial string.
To get around it I changed the application code, which is formatting and pasting large arrays onto worksheets.
Any other IsDate() problems I should be aware of?
-
Oct 25th, 2004, 10:13 AM
#2
Hyperactive Member
"Splendid" ? Glad you like it
Here are some other examples of IsDate = True
"1305/03", "1-0", "9999-12"
Does the same in VB6
But, apparently fixed in VB.NET
"The wise man doesn't know all the answers, but he knows where to find them."
VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|