within the VBA project of the workbook, to capture the text of the SQL command of a named data connection within that workbook?
yes, but you asked to display and edit