Is there a way to get the SQL of the RowSource of a ListBox when the RowSource = "(saved query name)", without enumerating the QueryDefs Collection to get the saved query's SQL?
Why enumerating the querydefs-collection?
You surely needs the querydef, but I think this will work:
Querydefs(MyListBox.Rowsource).SQL
(not yet tested, sorry )