OMG! I'm experiencing the same error! Except this is with Visual Basic Applications in Excel.
To fix my problem, I had to go to the VB Editor and click on the References Menu and make sure VB is referencing the DAO Object Library v3.6 (previously it was referencing DAO Object Library v3.51).