Rob said:
But I wanted to launch the Addid from a button
on the tool bar (since I use this all the time) instead of having to step
through menus.
You could put the public function in a library, then add the library as a
reference, but that would be a maintenance nightmare.
Do this: customize your built-in menu. In *customize* mode, hold the <CTRL>
key down and drag the name of your Add-in up to the top of the Tools menu
(above "Spelling...") to make a copy of the menu item. It won't be a custom
toolbar button, but it will prevent you from having to import code into every
database, and menu navigation will be minimal for every database you open on
that computer.
Too bad Access does not have a "Startup" like the
Personal.XLS in Excel or does it?
If you create a template database that has common libraries, functions,
settings, forms, reports, etc. and create each new database from this
template file, then you'll have a similar function. The downside to this is
that if you want to change something, it doesn't propagate to the already
created databases. You'd have to open each database individually and
manually make the change. Maintenance nightmare.