CopyObject method

petko

Registered User.
Local time
Today, 01:30
Joined
Jun 9, 2007
Messages
85
Hi,

I'm using CopyObject method for distributing the newly developed objects to all those accdb files that containt that object. However at each copy I need to provide a confirmation for overwriting the existing one. I can't find an option among CopyObject parameters to skip this confirmation. Is there a way of automatic skipping or confirming from VBA?

Appreciate any help

petko
 
What about DoCmd.SetWarnings = False? Remember to turn it on again.
 
Hi JHB

That works perfectly!
Thanks!
 

Users who are viewing this thread

Back
Top Bottom