+ Reply to Thread
Results 1 to 8 of 8

Show label when cell value

  1. #1
    Registered User
    Join Date
    10-06-2010
    Location
    Landvetter, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    10

    Show label when cell value

    Hello,

    This is probably really easy but I can not think how to solve this.

    I would like to a label show up only when the letter "C" is displayed in cell B5.

    See attached example.

    //Svanis
    Attached Files Attached Files
    Last edited by Svanis75; 10-18-2010 at 02:40 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Show label when cell value

    What label? The simplest solution would be to use an IF formula

    =IF($B$5="C","B5 is C","")
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-06-2010
    Location
    Landvetter, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Show label when cell value

    I meen the label that says "Follow the instructions".
    //Svanis

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Show label when cell value

    Unless you use VBA, which is unnecessary, use the formula & format a cell to act as the label.

  5. #5
    Registered User
    Join Date
    10-06-2010
    Location
    Landvetter, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Show label when cell value

    I would like to use VBA to show the label. Could you show me how to do that.

    Thank´s for your help.

    /Svanis
    Last edited by Svanis75; 10-15-2010 at 05:43 AM.

  6. #6
    Registered User
    Join Date
    10-06-2010
    Location
    Landvetter, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Show label when cell value

    I would like to use VBA to show the label. Could you show me how to do that.

    Thank´s for your help.

    /Svanis

  7. #7
    Registered User
    Join Date
    10-06-2010
    Location
    Landvetter, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Show label when cell value

    I found a way to do this with this code:

    Please Login or Register  to view this content.
    Regards
    /Svanis
    Last edited by Svanis75; 10-18-2010 at 03:46 AM.

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Show label when cell value

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

+ 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