Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compacting a DB with VBA or VBScript

Status
Not open for further replies.

SlakeB

MIS
Jun 15, 2005
40
0
0
US
does anyone know how to compact and repair a DB with either VBA or VBScript?
 
Hi
This may help:
Compact and Repair automatically at the start of each day
faq705-4998
 
Hi, SlakeB,

You might also try this:
Code:
CommandBars("Menu Bar"). _
Controls("Tools"). _
Controls("Database utilities"). _
Controls("Compact and repair database..."). _
accDoDefaultAction
Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top