阅读背景:

运行时错误'13:比较日期时类型不匹配 - EXCEL VBA

来源:互联网 

I keep getting a "Run Time Error '13': Type Mismatch" error when comparing 2 dates. The code grabs a date from a second Workbook, which in this case I've tried to paste it into a cell to make sure it's a date... Which it is. Then it tries to compare it to a date already on the current Workbook. The pasted date and the other dates are identical formats. I have no idea why it can't compare the 2 dates! I've also tried putting CDate() around each of the components to no avail. Please help.I keep getting a "Run Time Error '13': Type Mis




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: