Hello, learning access and VB Code as I have this DB that I have inherited. I have multiple queries (about 60) that run on different tables and have different values on each query. I want to run these queries (using checkbox) and then export query (using button) to excel (each query on single sheet). I have this piece working and i am using transferspreadsheet command to do so, what I now want to do is run each query and ONLY export the queries that have a value (some sort of results) to excel and not all 60 queries... can this be done? is there an easier way?