Hi All,
Been a long time since I've been on this board. Maybe this has been answered so just point the way if so.
I can use a VBA statement like
CommandBars(cbrname).Controls(controlnum).TooltipT ext = ttext
to set the tooltip text of a particular control on a particular commandbar.
If ttext (a string) has a vbcrlf as part of it, the tooltip text comes out over multiple lines. Good.
However, if I use an Inputbox to query a user as to what the tooltip text should be, how can I allow a line enter as part of the text? I tried lots of combinations of various SHIFT, CTRL, ALT keys plus Enter but none worked. Either they did nothing or they invoked whatever button had the focus (OK unless I had used tab to set the focus on Cancel). Is there some way to say neither button should have the focus? Would that allow me to have an enter as part of the text?
Thanks for any help.
Fred



