Private Sub CoolBar1_Click()
MsgBox CoolBar1.Bands(1).Caption ' msgbox text
End Sub
Private Sub Form_Load()
CoolBar1.Move 0, Me.Height - CoolBar1.Height ' move to bottom
CoolBar1.Bands(1).Caption = "12345"
Text1.Appearance = 0
Text1.Move CoolBar1.Bands(1).Width, 0, CoolBar1.Bands(2).Width, CoolBar1.Bands(2).Height ' use coolbar as textbox's container
End Sub