I'm quite new to VBA and am having trouble figuring this out.
I've got a query that provides a list of users (QryUsers). Using the results of that query I would like to run an INSERT INTO TblResults SELECT TOP 10 * from another query (QryPREPOP). QryUsers and QryPrepop join on the field USER. The number of users in QryUsers can vary based on parameters set in that query.