Question : scripts to export Access table (in .xsl format)


How to write a script to download a table's data (when we manually do it, we right click the table, choose Export, then choose the excel format and destination, then we could get the exported xsl file for this table. How to automate this process? Suppose there is username/password to log in to this Access application. Any detailed instructions will be appreciated. Thanks.

Answer : scripts to export Access table (in .xsl format)

Would your Access application be open at the time? Or do you want to do this through a Scheduled Task, perhaps?

If the db is open, the Jeff's link will give you the right sort of answer.

If the db is NOT open, then you'd have to use a scheduled task and call a Macro in the databse (or something along those lines). Also, if this database is secured with UserLevel Security, then you won't be able to do this (you mentioned a Username and Password, so I'm not sure what that entails).
Random Solutions  
 
programming4us programming4us