I have have 100+ access databases and I am trying to provide them some
common functionality. I have already created an Addin to handle some of my
mischief. One thing I still want to do is sync my AutoKeys macros. Over time
I keep adding new functions and I would like an easy way to create/update
each database's copy of the macro without manually having to create it. In
the same context, I also would like to be able to add / replace common VB
modules. Unless you know of a way to reference the macros or vb code from an
Addin.
I don't believe there's any way to programmatically program macros, but you
can use the undocumented SaveAsText/LoadFromText methods. Use SaveAsText to
see what should be in the text file. You can use VBA code to create an
identical file and use LoadFromText to get it into the database.
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.