Hey All,
Actually I need to export the data from Access to Excel particular spreadsheet(ie. Raw Data),so I was using Docmd.Transfers preadsheet but in this syntax where i can give the spreadsheet name.
Example:
I have a Excelfile name is Inventory.xls,a nd sheet name is 'Raw Data',so i need Access data should export to Inventory Excel file Raw Data sheet.
I tried like this:'DoCmd.Tra nsferSpreadshee t acExport, acSpreadsheetTy peExcel9, "Inventory_Acc" , "C:\Inventory.x ls", True
So where I have to mention the Sheet name.Above format only exports the data to Excelfile.
Please help on this.
Thanks,
Phani
Actually I need to export the data from Access to Excel particular spreadsheet(ie. Raw Data),so I was using Docmd.Transfers preadsheet but in this syntax where i can give the spreadsheet name.
Example:
I have a Excelfile name is Inventory.xls,a nd sheet name is 'Raw Data',so i need Access data should export to Inventory Excel file Raw Data sheet.
I tried like this:'DoCmd.Tra nsferSpreadshee t acExport, acSpreadsheetTy peExcel9, "Inventory_Acc" , "C:\Inventory.x ls", True
So where I have to mention the Sheet name.Above format only exports the data to Excelfile.
Please help on this.
Thanks,
Phani
Comment