Blake 7,
Sorry I didn't get back to this thread sooner. In the .xla file, in the ThisWorkbook event module, you can use the following to create a button:
Of course, only having one-way functionality gives your addin a bad image. So you can use the AddinUninstall event to remove your button so that uninstallation is seamless and painless for the end user:
Alternately, instead of using a button they press, you could simply put in a line to assign your add-in macro to a keyboard shortcut. This method doesn't require either of the above, but without the button its not apparent how to get the macro to run. So the following is only recommended if you're the one using it, not others:
Hope that helps,
~tigeravatar
Bookmarks