PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Temporary commandbar not getting deleted
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Temporary commandbar not getting deleted
![]() |
Temporary commandbar not getting deleted |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi I have created an commandbar with the following properties:
Set cbrNewToolbar = golApp.ActiveExplorer.CommandBars.Add _ (Name:="SoftReport", Position:=msoBarTop, Temporary:=True) I have this code in a function that gets called from OnConnection (I use the code from ItemsCB). The problem is that the commandbar does not seam to be temporary, a new one gets added everytime outlook is started, and the old one is not deleted. How can I force the commandbar to get unloaded everytime outlook stops and then created again when outlook is started. Regards. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

