I am trying to execute a SQL statement in ACCESS from Excel. I keep getting an error statement around the DoCmd line stating: "Object Required". Any insight would be helpful.
Code
Dim conn As ADODB.Connection
Dim rs As New ADODB.Recordset
rs.ActiveConnection = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\Users\Philosophaie\Documents\Banking & Bills\a Chase.accdb;"
thisSQL = "INSERT INTO [a Chase Table] VALUES [null],[" & accDate & "],[" & accDesc & "],[" & accAddSub & "],[" & accRunTotal & "]"
DoCmd.RunSQL thisSQL