Results 1 to 3 of 3

Thread: frustrated w/ commandbar(s)

  1. #1

    Thread Starter
    Hyperactive Member pgag45's Avatar
    Join Date
    Mar 2007
    Location
    Colorado
    Posts
    262

    frustrated w/ commandbar(s)

    Trying to get some custom commandbars in my vba form, and I keep getting procedural / argument errors ...

    I am using RobDog's http://www.vbforums.com/showthread.php?t=402050 as a guide, but I can't get this line:

    Set moCBImage = Application.CommandBars.Add("cbImage", msoBarPopup, , True)

    to compile... says illegal arguments...

    thanks!

  2. #2

    Thread Starter
    Hyperactive Member pgag45's Avatar
    Join Date
    Mar 2007
    Location
    Colorado
    Posts
    262

    Re: frustrated w/ commandbar(s)

    Looking up on MSDN, I'm starting to get very confused with the difference b/w commandbars, commandbar, and how to add objects to these...

  3. #3

    Thread Starter
    Hyperactive Member pgag45's Avatar
    Join Date
    Mar 2007
    Location
    Colorado
    Posts
    262

    Re: frustrated w/ commandbar(s)

    Only works the first time I run it... Then I get an invalid argument error...

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