How to send parameters to microsoft access query so that I can import an access parameter query to excel?

前端 未结 3 833
耶瑟儿~
耶瑟儿~ 2021-01-24 00:42

I need to import a microsoft access query that has popup input parameters into excel. I tried the code below but it does not work. I receive error 93 that tells me that object o

3条回答
  •  情话喂你
    2021-01-24 00:58

    Try adding square brackets around your parameters name so:

    qdf.Parameters("[" & "Date_PreviousMonth" & "]") = "31.12.2018"
    

提交回复
热议问题