FuzMic
DataBase Tinker
- Local time
- Today, 20:10
- Joined
- Sep 13, 2006
- Messages
- 719
Hi guys
i use following to export a table eg Tb01 to a Excel eg X01.xls
docmd.transferSpreadsheet acExport, 8, Tb01, X01, true
by doing so either
1. if there is no worksheet by the name of Tb01, it will create one & export content to it
2 if there is the folder Tb01 it will just replace it's contents
above is what i need
however if the x01.xls is change or whatever it create another worksheet Tb011 & not replace the old contents in Tb01 or create a new Tb01
Any advice to understand & satisfy my need
i use following to export a table eg Tb01 to a Excel eg X01.xls
docmd.transferSpreadsheet acExport, 8, Tb01, X01, true
by doing so either
1. if there is no worksheet by the name of Tb01, it will create one & export content to it
2 if there is the folder Tb01 it will just replace it's contents
above is what i need
however if the x01.xls is change or whatever it create another worksheet Tb011 & not replace the old contents in Tb01 or create a new Tb01
Any advice to understand & satisfy my need