Use an append query with selection criteria and you won't need any code. If you insist on doing it in code, you'll need two recordsets opened. One that you read with a do until EOF loop and the second to use with the .addnew method to insert the rows selected from the other recordset.