+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Only showing some text

Hybrid View

  1. #1
    Registered User
    Join Date
    11-03-2010
    Location
    Mansfield, OH
    MS-Off Ver
    Excel 2007
    Posts
    1

    Only showing some text

    I have a lot of text that I want to put into a cell. I don't want to change the cell width or height, so word wrap is out. I also don't want to shrink the text. What I'm hoping for here is to enter the text and, no matter how much I've typed, it'll just show however much of the text as will fit in the cell as it is and the rest will be revealed with a mouseover. I don't want to use comments, either (I'm trying to pre format a sheet for an employee who will have to do this regularly) I would really appreciate any help that anyone can offer.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Only showing some text

    Hi Django

    Welcome to the forum

    As far as I am aware excel sheets don't have a mouse-over event.

    You could try this with a Label or TextBox, and a variation of this code in the worksheet selection change event.
    Option Explicit
    
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        If Target.Address = "$A$2" Then
            Label1 = Target
            Label1.Visible = True
        Else
            Label1.Visible = False
        End If
    End Sub

    Click in and out of cell A2 to see the result.

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1