Hi Jay,
thanks for the reply but I have managed to run the make table query by using the following code
Set Db = DAO.DBEngine.OpenDatabase("db Name")
Db.Execute "Qry_MakeTableName"
I have changed this now to run a delete query and then an append query to first clear the table and then write the new data to it using the following code:
Set Db = DAO.DBEngine.OpenDatabase("db Name")
Db.Execute "Delete Query Name"
Db.Execute "Append Query Name"
Unfortunately I am now having trouble passing parameters to the Append query to stop it appending all the data. For example I am trying to limit the data by Country so that it only appends all of Austria's data into the table rather than the whole worlds. I have a cell in excel which has the country name in that I want to limit by, hopefully I will be able to work this out. Unfortunately I have to use excel as the front end and hide access.
thanks for your feedback
DeadDuck