H
Harry-Wishes
Hello.
I created a custom toolbar which contains a single button. No sweat.
Now, is there a programmatic way to write a subroutine that can attach this
button to another subroutine. Maybe "assign to a suubroutine" is better
terminology. I have done an exhaustive hunt on the topic but I come up short.
Below, is a snippet of code where I created an object to the toolbar and the
button. This is as far as I've been able to go.
Dim ctlToggle As Office.CommandBarButton
Set ctlToggle = CommandBars("Letter_Toolbar").Controls(1)
Help appreciated as always.
Harry-Wishes
I created a custom toolbar which contains a single button. No sweat.
Now, is there a programmatic way to write a subroutine that can attach this
button to another subroutine. Maybe "assign to a suubroutine" is better
terminology. I have done an exhaustive hunt on the topic but I come up short.
Below, is a snippet of code where I created an object to the toolbar and the
button. This is as far as I've been able to go.
Dim ctlToggle As Office.CommandBarButton
Set ctlToggle = CommandBars("Letter_Toolbar").Controls(1)
Help appreciated as always.
Harry-Wishes