ublic Function AddNewItem() As Boolean
Dim ctl As CommandBarButton, Str As String
Str = Left(Screen.ActiveControl.SelText, 255)
If Not Len(Str) > 0 Then Exit Function
If CommandBars("FastSelect").Controls.Count > 20 Then CommandBars("FastSelect").Controls(10).Delete
Set ctl = CommandBars("FastSelect").Controls.Add(msoControlButton)
ctl.Caption = IIf(Len(Str) > 20, Left(Str, 20) & "...", Str)
ctl. & Str & "')"
End Function