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

前端 未结 3 829
耶瑟儿~
耶瑟儿~ 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:53

    You may have to pass valid date values to the parameters:

    qdf.Parameters("Date_PreviousMonth").Value = #12/31/2018#
    qdf.Parameters("Date_CurrentMonth").Value = #01/31/2019#
    

提交回复
热议问题