我的一个小程序,在一些机子上运行时显示“类型不匹配”,是不面这个引起的吗?dim a as string 
a=nowdim b as string 
b="2006-10-23 17:36:15"if datediff("d",b,a)>0 then
msgbox "0k"
end if
是不是使用datediff之前比前必须先转换一下呀,在我机器上不转换也正常呀。。是不是要这样:
a=cstr(now)datediff("d",FormatDateTime(b),FormatDateTime(a)