N
Nitin Negi
Hi ,
I tried to export data from a query to a .xlsx file using the
transferspreadsheet but when i open the spreadsheet , it gives me a error.
The command i used is
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12 ,
"1_cQrsCoreRecsCommentLdn", pgblRoute & "Data\Current.xlsx", True, "".
Although if i use the below command
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12 ,
"1_cQrsCoreRecsCommentLdn", pgblRoute & "Data\Current.xlsx", True, "".
It create the xlsx file but the sheet name is preceeded with _ in this
case the sheet name created is "_1_cQrsCoreRecsCommentLdn".
Can some one help.
Nitin
I tried to export data from a query to a .xlsx file using the
transferspreadsheet but when i open the spreadsheet , it gives me a error.
The command i used is
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12 ,
"1_cQrsCoreRecsCommentLdn", pgblRoute & "Data\Current.xlsx", True, "".
Although if i use the below command
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12 ,
"1_cQrsCoreRecsCommentLdn", pgblRoute & "Data\Current.xlsx", True, "".
It create the xlsx file but the sheet name is preceeded with _ in this
case the sheet name created is "_1_cQrsCoreRecsCommentLdn".
Can some one help.
Nitin