Link to home
Start Free TrialLog in
Avatar of _Hector
_Hector

asked on

Save Access Query to multiple files

Hello,
I need some help. I have an access query that I wish to group and output by customer number as excel files.

CustomerNo
InvoiceNo  
Date          

The saved file names should be equal to the customerNo.
Thank in advance.
Avatar of jjafferr
jjafferr
Flag of Oman image

Hi

Did you try the
DoCmd.TransferSpreadsheet 1, 8, "Query1", "C:\" & me.Customer & ".xls", True

jaffer
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial