Call function in a different .mdb file on same folder

I

Imran J Khan

Can I keep my functions in a .mdb file (library.mdb) and call them from
different Access databases/.mdb files on the same folder as the library.mdb.
I hope to simplfy maintainance this way.
Imran
 
M

Marshall Barton

Imran said:
Can I keep my functions in a .mdb file (library.mdb) and call them from
different Access databases/.mdb files on the same folder as the library.mdb.
I hope to simplfy maintainance this way.


Yes. Make sure the library mdb compiles cleanly and copy it
to the desired folder. Then you can use the VBA Tools -
References menu item to add it to your project.
 
I

Imran J Khan

Thank you Marshall, that solved the problem (also restarting both .mdb files
helped).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top