I have the folowing code that works fine
Docmd.TransferSpreadsheet acExport, 8, "Queryname", "x:\database\export.xls", False
the problem is that X is a network drive, and the database is runed form different computer with different drive names...
The target excel document is in the same...