M
Matthew Wieder
I am writing an "automation add-in" for Excel in C#. This type of add-in
only loads on-demand, but my issue exists for a com add-in that is set to
load on demand as well. The first time the Add-In is connected, I have it
create a CommandBarButton that is permanent (the last param of the Add method
is the permanence of the CBB). Then Excel can be shut down and the
commandbarbutton still remains the next time Excel is started. However, when
I click on the button after restarting Excel, the Add-In does not load. The
documentation seems to indicate that Load on demand would Load the Add-In the
first time it is needed - either by activating a fomula from that Add-In, or
pressing a button that uses the add-in.
only loads on-demand, but my issue exists for a com add-in that is set to
load on demand as well. The first time the Add-In is connected, I have it
create a CommandBarButton that is permanent (the last param of the Add method
is the permanence of the CBB). Then Excel can be shut down and the
commandbarbutton still remains the next time Excel is started. However, when
I click on the button after restarting Excel, the Add-In does not load. The
documentation seems to indicate that Load on demand would Load the Add-In the
first time it is needed - either by activating a fomula from that Add-In, or
pressing a button that uses the add-in.