How Macro export to EXCEL with different name for every run.

amolin

Registered User.
Local time
Yesterday, 16:31
Joined
Apr 29, 2004
Messages
35
for example:

Macro will export to EXCEL with different name for every run.


For example, I would like code macro like this way:

DoCmd.TransferSpreadsheet acExport, 8, "A0020_ASSY_OPER_WIP_REPORT", "" "D:/ASSY_WIP_RPT_DH" & Hour(Now) & ".xls", False, ""

But it couldn't work, why?
 
Last edited:

Users who are viewing this thread

Back
Top Bottom