Consulting

Results 1 to 15 of 15

Thread: Solved: Is there any tooltiptext in excel?

  1. #1

    Solved: Is there any tooltiptext in excel?

    In VB there is a property called tooltiptex to define a yellow mark for the controls. Is there something like that when we work in VBA in Excel?

  2. #2
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    It's called controltiptext
    add a label to a userform for example and select the label then look at the project properties for controltiptext....
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    thank you lucas.

  4. #4
    but for the controls we put on the worksheet (for example command bottun) this property is not in the property lists.

  5. #5
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    That appears to be true maryam.....sorry...you really should try to find a different way to run your macros than an ugly button on the sheet though. I never use a button on the sheet...it's too easy to set up a simple menu item...doesn't take any space on the page, it's not ugly, etc.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  6. #6
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Steve, does this mean that the menu item only appears for that workbook or is then on every workbook opened?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  7. #7
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    I like to set them up for each workbook individually....they travel with the workbook that way. All others I use are created from an addin.....

    attached and custom menu's are a pain and have caused me problems.

    Edit: Should mention that they are created on workbook open and deleted on workbook close...so they don't show in any other workbook...only the one you want it in.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  8. #8
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Could you give us an example?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  9. #9
    Dear Lucas,
    What is this menu item? you mean instead of putting buttons on a worksheet you creat menu item?

  10. #10
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    Hi Maryam,
    I notice the thread is marked solved but you ended with a question??
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  11. #11
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location
    Hi,

    Sorry to type on a solved thread....could someone show..how to create a menu button..and have the coder fire from there....I also want to stop..placing command buttons on the XLS grid.

    thanks
    asingh

  12. #12
    VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  13. #13
    I dont know how to make a thread unsolved again?
    but any way the initiating question is solved.
    for menu maker you may look at another thread I posted previousely titled "menu editor".
    so you mean better to have a menu than seprate command buttons on the worksheet?

  14. #14
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location
    Is there not some simpler method to add a menu button to the top tool bar..in excel. Like how a command button is added to the application..drag and drop..and then bind the back end code....to it. Does it have to be done..via code...!

  15. #15
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,075
    Location
    I think I read it somewhere that on John Walkenbach's website there is a methodology showing how to add a button to the toolbar.


    Sorry not there but try here instead http://office.microsoft.com/en-us/ex...922011033.aspx
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

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