|
-
Jun 7th, 2006, 09:00 AM
#1
Thread Starter
Don't Panic!
VBA IsDate function not appearing to work
Hello.
A weird one - wondered if anyone has come across this.
Usually when using isdate function it tells me whether the string/number sent to it is a date.
Appeared to work fine.
However now it is not working fine and I cannot see why.
I'm pulling data from Excel which is in a date format, but not a proper date (I think). I change the cell formatting to text (via number format and '@')
and the contents change to a number. Ah ha. IsDate should work. It doesn't.
Just so people can check to see if maybe something is corrupted/running wrong here...
The date, number
24/08/1971 , 26169
If any one has come across this and knows how to fix Access VBA to work, please let me know. For now I'm going to use the format function which (for some reason) is changing the value to a date correctly.
Thanks in advance
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
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
|