G
geoff
Hi
Tried another group but with no luck at all.
Is it possible to disable the close button on a custom
floating commandbar as with the close button on a form
using UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)?
If so, how?
Creating the bar:
Set floatbar = CommandBars.Add("Anything ",
Position:=msoBarFloating)
....gives the bar type but I have no idea how to get the
close button or what to do with it.

I'd be very grateful for any advice.
Geoff
Tried another group but with no luck at all.
Is it possible to disable the close button on a custom
floating commandbar as with the close button on a form
using UserForm_QueryClose(Cancel As Integer, CloseMode As
Integer)?
If so, how?
Creating the bar:
Set floatbar = CommandBars.Add("Anything ",
Position:=msoBarFloating)
....gives the bar type but I have no idea how to get the
close button or what to do with it.
I'd be very grateful for any advice.
Geoff