I am trying to pull dates via select statement in VBA for the previous year(2013) and month of September. This definitely does not work. Please tell me how to write this if you can!
"SELECT * FROM MyQuery " _
& "WHERE [MyDate] Between DateSerial(Year(Date()-1),Month(9),1) And DateSerial(Year(Date()-1),Month((9)),0)"