Open a connection to the database.
[tt]dim cn as adodb.connection
set cn=new adodb.connection
cn.connectionstring="provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source = <path and name of db>;"
cn.open[/tt]
More connection strings can be found at
Able Consulting
If the queries you've written are VBA SQL strings, you should be able to run them like this:
[tt]cn.execute strSql,,adcmdtext[/tt]
If they are stored queries within Access, I think you should be able to reach them thru
[tt]cn.execute "qryMyInsert",,adcmdstoredproc[/tt]
if they do not contain any parameters. Should they contain parameters, you'll need use of the command object.
Roy-Vidar