I am exporting the content of a table to a file. I'd like to have the file automatically named 27ddmmyyyy where ddmmyyyy is the date of the day.<br><br>Thank you.
Look up TransferText in Help for assistance with each of the parameters. In general, your visual basic code should look like:<br><br>DoCmd.TransferText acExportDelim, specificationName, _<br> tblName, "27" & Format$(Date(),"ddmmyyyy"<br><br>
This line should be part of a function or sub that is executed at the point that you are ready to export the file. For example, you could create a button in a form that calls this function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.