Look at this post, it solves a similar problem. Try changing the type from Date to String.
Data type mismatch in criteria expression Excel 2007
-
24-06-2023 - |
سؤال
I am using following query trying to pull data from Access DB to my spreadsheet:
ID, MgmtVar.LoB, MgmtVar.
1yr VaR
FROM
Test DB11_v2.accdb.MgmtVar MgmtVar
WHERE COB = ?
AND
Entity ID` = ?
I am getting Data Type Mismatch error for COB field which is Date data type (both in DB and in Excel)
Can anyone advise how to use parametrized query in Excel with Date data type as a parameter ?
Many Thanks
المحلول
لا تنتمي إلى StackOverflow