Results 1 to 11 of 11
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sreentips - on my custom toolbars how do i edit?

    Hi

    I have custom toolbars. WHen you hover the mouse of the icon buttons screen tips are displayed.
    How do I edit these screen tips text?

    Its not via the Customise menu> to customise the toolbars?

    many thanks Diana

    eg sample screen dump of screentips

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Sreentips - on my custom toolbars how do i edi

    <P ID="edit" class=small>(Edited by jscher2000 on 09-May-05 23:21. )</P>You can assign it using the Immediate Window in the VBE. I think it has been documented here before, long ago. Mostly like this:

    CommandBars("Standard").Controls("My Button Caption").TooltipText = "This is my tooltip text"

    or

    CommandBars("Standard").Controls(NumericIndex).TooltipText = "This is my tooltip text"

  3. #3
    Star Lounger
    Join Date
    Jun 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Sreentips - on my custom toolbars how do i edi

    Controls(NumericIndex). is the easiest way to access a control becouse its a straight 1 based index.
    First control is 1 etc.

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Sreentips - on my custom toolbars how do i edit?

    Nice Macro.

    StuartR

  5. #5
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Sreentips - on my custom toolbars how do i edit?

    nice one bjorn

    cheers diana

  6. #6
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Sreentips - on my custom toolbars how do i edit?

    Hope it will be usefull for you.



    I wander whether it is possible to display the tool tip on two lines; does anyone know?

    I have seen earlier that this was not possible, but there excists a dll which can be used to do so?


    Good night and regards

    Bjorn

  7. #7
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Sreentips - on my custom toolbars how do i edit?

    Both Chr(10) and Chr(13) in the tooltip text seem to work fine in Word2003.

    On the other hand, I have compiled a list of all built-in controls with their tooltip text, and none of those seems to have a line break.

    And you can't seem to insert either ASCII 10 or 13 directly in your macro's text box.
    Maybe you could use some character that can be inserted (such as

  8. #8
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Utility to edit tooltips of toolbar buttons (Word)

    Very useful macro, thanks!

    Just one wish left: the list of commandbars in alphabetical order. Did a quick try myself but that didn't work. Any idea's anyone?

  9. #9
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Utility to edit tooltips of toolbar buttons (Word)

    I have attached a slightly modified version. It uses a slow method for sorting the commandbars, but since the number isn't very large, that doesn't matter.

  10. #10
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Utility to edit tooltips of toolbar buttons (Word)

    Thanks very much Hans!

  11. #11
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Utility to edit tooltips of toolbar buttons (Word)

    Diana,

    I have enclosed a document containing a macro for your purpose.

    Bjorn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •