I need to to a docmd.transferSpreadsheet to export a table as a xls file. I can do that easy enough - what I need help with is the VBA to name the file according to the previous day's date.
For example if today is 12/12/2005 I would like the exported file to be named 2005_12_21.xls
For example if today is 12/12/2005 I would like the exported file to be named 2005_12_21.xls