Results 1 to 3 of 3
  1. #1

    Distribute Custom Toolbar (Outlook 2000 SR1)

    How do I distribute a custom toolbar to several PCs without overwriting the user's own customizations? Is there a way other than a COM add-in?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 93 Times in 89 Posts

    Re: Distribute Custom Toolbar (Outlook 2000 SR1)

    Some of the wizards on the VB/VBA board have been playing with toolbars a lot. They should be able to tell you whether adding a toolbar programmatically is likely to be successful.

  3. #3

    Re: Distribute Custom Toolbar (Outlook 2000 SR1)

    Thanks, I tried the VBA group, but then I figured out the answer myself. So here it is, for what's its worth:

    Short of creating a Com Add-In, you can create a custom toolbar in your Outlook VBAProject.OTM file by using the office CommandBars object, which works a little differently than in other MS Office apps (of course!).

    The code I wrote looks something like this, and is put in the ThisOutlookSession module of the above-noted file as follows:

    Private Sub Application_Startup()
    Dim oActExp As Outlook.Explorer
    Dim cmdbar As CommandBar
    Dim cmdbtn As CommandBarButton

    Set oActExp = Outlook.ActiveExplorer

    'Delete MyCustom toolbar if exists

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts