Access 2007 compact password via VBA

G

Giovanni Roi

I use this VBA line of code to compact the Access 2007 DB:

Shell("MSACCESS C:\Pippo_be.accdb /Compact ", 3)

How can I add the password that protect the DB in the shell command?

Regards

Giovanni Roi
 
Top