阅读背景:

标准表达式二进制到整数VBA中的数据类型不匹配

来源:互联网 

I'm writing an Excel Macro which works with an existing Access DB. Several of the queries I run will require input from the user as to which users they remove from a table, but seeing as the number will be the same each time I'd rather capture it once at the beginning of the macro and use that variable in my SQL statements. The number is for a quarter number of the year. So it'll either be 1,2,3 or 4 I can capture that from the user ok, but when I try to use the variable in an SQL statement I get the "Data Type Mismatch in Criteria error"I'm writing an Excel Macro which works with an




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

分享到: