Results 1 to 5 of 5

Thread: Add-In Question #2

  1. #1

  2. #2
    Addicted Member
    Join Date
    Feb 2000
    Location
    CWMBRAN,WALES,UK
    Posts
    146

    Past post of yours

    Sorry this is not an answer to your post, but I remembered that you were enquiring about books on the subject, and I was told about this book.

    Developing Visual Basic Add-ins
    by Steven Roman
    ISBN 156925270

    You may be aware of this book already, however, I thought I'd let you know, as it might be useful to you.

    Best of luck
    GRAHAM

  3. #3

  4. #4
    Hyperactive Member
    Join Date
    Feb 2000
    Location
    Sedgefield
    Posts
    337

    Lightbulb EZ 1

    Just add another button where you want the separator and change its type to 3-tbrSeparator

    Dan

    Outside of a dog, a book is a man's best friend.
    Inside of a dog, it's too dark to read.

  5. #5

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    Thanks (again), but this time I think you are thinking about an application toolbar, whereas my question refers to a VB IDE toolbar created by an Add-In with code like this:

    Private cbCraftAddIn As Office.CommandBar

    Private cbcSetTemplates As Office.CommandBarControl

    Set cbcSetTemplates = cbCraftAddIn.Controls.Add(Type:=msoControlButton)
    cbcSetTemplates.FaceId = 2628
    cbcSetTemplates.ToolTipText = "Set Templates"

    I recently found the answer to this problem. all I need to add is

    cbcSetTemplates.Begingroup = True

Posting Permissions

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



Click Here to Expand Forum to Full Width