Vba DateSerial function - TechRepublic
General discussion
February 19, 2002 at 10:52 PM
lh

Vba DateSerial function

by lh . Updated 24 years, 1 month ago

I am currently having an issue using the DateSerial function in vba. When a date with the 31st day of a month is input as a variant/string type a Type Mismatch error occurs. This only happens with the 31st day of the month. All other dates work.Is there another way to convert a variant/string to a variant/date?

This discussion is locked

All Comments