What should you do if you want to control start and stop an add-in without user intervention?
The answer is to control it through events. Add-ins don’t require menu commands or toolbar buttons to activate them. Clicking a command bar object (such as a menu command or toolbar button) triggers the Click event of that object (in our example, the MenuHandler_Click event).
So to control an add-in without using a UI, simply program your own events in a class module.