I have a Custom Menu Bar, when I select:
Tools, Compact and Repair Database…
It runs:
CommandBars(“Menu Bar”). _
Controls(“Tools”). _
Controls(“Database Utilities”). _
Controls(“Compact and Repair Database…”). _
AccDoDefaultAction
I’m getting the following error:
Microsoft Office Access
Error: Invalid procedure call or argument (5) OK
This same code works OK for years with no messages on a2k thru a2k3 computers
Any thoughts?
Thanks, John