If you mean you want to query an excel file so you can use the data in Access, then yes, it's possible. Excel is actually a database format as well that has it's own database driver that you can use from vba.
It was a long time ago I did it myself, so I can't get to any code I've done. However, there's two basic approaches: Do it straight via VBA objects, or via database connection. With objects, it would look something like this:
To open a file, you could do
If you choose to do it this way, you could use the VBA in Excel to see the properties & methods available to you if they won't list in Access VBA.
for the connection string to use, then use the common VB ADODB.Connection object to connect to an Excel file. Usually when you connect this way, you don't see any table's and cannot read any data from excel until you define data areas (or whatever it's called in english). If you can't find out how to do it in excel, try creating a table over the database connection, that should set it up for you in the excel file.