I am aware of the various methods to compact databases"
Access 2003: Sendkeys "%(TDC)", False
Access 2007: Sendkeys "%(FMC)", False
Access 2010: Sendkeys "%(YC)", False
accDoDefaultAction Method
DBEngine.CompactDatabase SourceFile, DestinationFile
I'm still playing with the SendKeys option...