The creation and customization of database applications using Microsoft Access
I assume that the data being exported are contained in a text file. You can call the TransferText method of the DoCmd object in VBA. This has a SpecificationName argument for use where the export specification has been saved. For details see:
https://learn.microsoft.com/en-us/office/vba/api/access.docmd.transfertext
You might find that you run up against the same 'security restrictions' as when using a macro of course, in which case I would advise that you contact your system administrator.