Mansoor Ahmad
Registered User.
- Local time
- Today, 04:04
- Joined
- Jan 20, 2003
- Messages
- 140
Dear All
While exporting the data from Access to Excel. What is the difference between following two commands
DoCmd.Output to ……
DoCmd.transferspreadsheet…….
Is it the way data is exported?
What I have noticed is that using outputTo command, you cannot export to an excel file where there is already some data in it and you want to keep that data. It creates new file and deletes the older one.
In transferspreadsheet command, you can add data to an already created spreadsheet and it would not disturb other spreadsheet withing the same workbook.
Is that correct?
Thanks
While exporting the data from Access to Excel. What is the difference between following two commands
DoCmd.Output to ……
DoCmd.transferspreadsheet…….
Is it the way data is exported?
What I have noticed is that using outputTo command, you cannot export to an excel file where there is already some data in it and you want to keep that data. It creates new file and deletes the older one.
In transferspreadsheet command, you can add data to an already created spreadsheet and it would not disturb other spreadsheet withing the same workbook.
Is that correct?
Thanks