> This doesn't work for string arguments, e.g. CDate("1"). Thanks. Seems CDate("1/2/2000") works, but for CDate("1") I get type mismatch from VariantChangeType. I will try to improve my patch.