Using a centralized VBA module in multiple Access databases

前端 未结 3 1564
离开以前
离开以前 2020-12-02 19:51

I\'ve been put in charge of 50+ Access databases (.mdb\'s and .accdb\'s of varied versions) spread around an intranet, and I need to add a few VBA functions (the exact same

3条回答
  •  失恋的感觉
    2020-12-02 20:12

    Don't worry, it's quite simple.

    1. Make your "helper" database. Put a few procedures in there.
    2. In your 'client' databases, open the VBA Editor
    3. Go to Tools->References. Browse and select your helper database.
    4. Done! You can now use all the functions in your helper database throughout your client databases.

    So... no .dll files to worry about. No Visual Studio needed.

提交回复
热议问题