By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,994 Members | 2,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,994 IT Pros & Developers. It's quick & easy.

Copy object methode of VBA

P: n/a
Dear reader,

According the help in VBA you can copy an object.

The syntax is:

object.Copy destination

For object I file-in the path and filename.

For destination the destination folder.

By compilation I receive the message: "Method or data member not found".

I think I missed a reference library under Tools | References.

Which reference library is required here?

My goal is to copy a mdb from one folder to an other folder.

Thanks for any help.

Kind regards,

Simon
May 14 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi, Simon
My goal is to copy a mdb from one folder to an other folder.
Then you should search in the help file for < FileCopy >, where you can find
a sample.
But please be aware that you will in an error if you try to copy an open
file.

Regards
Jens
May 14 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.