coolbar control in VBA

G

Guest

hi all,

I'm trying to add a button to a coolbar control in VBA and getting nowhere. the crux of my problem is adding the control (to start with a command button) to the band container on the coolbar

when i search msdn i get code that says specify that you want to add the control to the container but it all looks good for VB rather than VBA and i can't figure out how to do it in VBA

any help much appreciated

snaps.
 
T

Tom Ogilvy

the menu objects in VBA are commandbars. I am not aware of a coolbar object
in VBA. As you say, coolbars are in VB.

--
Regards,
Tom Ogilvy

snapper said:
hi all,

I'm trying to add a button to a coolbar control in VBA and getting
nowhere. the crux of my problem is adding the control (to start with a
command button) to the band container on the coolbar.
when i search msdn i get code that says specify that you want to add the
control to the container but it all looks good for VB rather than VBA and i
can't figure out how to do it in VBA.
 
G

Guest

tom you are correct.

what i should have said is that i am trying to use an activeXcollbar control in VBA and having the problems i described earlier

snaps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top