P
PurpleHeather
Guest
Hi there
First posting on here but have read the threads before for assistance/tips.
I have a successful line of VBA that exports a table and names it how I need it to be named. The filepath/name are as I need them and relate to the open record - inc the values of 2 fields in the filename. So far so good.
I need only to see a single row of fieldheaders and a single row of data.
How can I amend my code to do this? Is it simple and I'm just being daft?
DoCmd.TransferSpreadsheet acExport, , "tblOfferData", "D:\data\CR_" & MPNPolicy & "_" & CalcNo & "_O.xls", True
Thanks,
PurpleHeather
First posting on here but have read the threads before for assistance/tips.
I have a successful line of VBA that exports a table and names it how I need it to be named. The filepath/name are as I need them and relate to the open record - inc the values of 2 fields in the filename. So far so good.
I need only to see a single row of fieldheaders and a single row of data.
How can I amend my code to do this? Is it simple and I'm just being daft?
DoCmd.TransferSpreadsheet acExport, , "tblOfferData", "D:\data\CR_" & MPNPolicy & "_" & CalcNo & "_O.xls", True
Thanks,
PurpleHeather
Last edited: