If you count the development time and the absolute simplicity of changing the query, using a stored query is MUCH faster all the way around, in building, testing, and running.
Writing a query in VBA is only done where it is built dynamically for whatever reason. Even then this can be worked around using different queries and if..then statements.
Essentially, you trade off speed of processing to being able to dynamically tailor a query