|
-
Jun 7th, 2007, 10:42 AM
#1
Thread Starter
Hyperactive Member
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!
-
Jun 7th, 2007, 10:44 AM
#2
Thread Starter
Hyperactive Member
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...
-
Jun 7th, 2007, 12:24 PM
#3
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|