D
Dou
On the main form, I put a button to compact current database, the code:
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
I have referenced Microsft Office 11.0 Object Library, it still cann't work.
Why? Thanks
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
I have referenced Microsft Office 11.0 Object Library, it still cann't work.
Why? Thanks