+ Reply to Thread
Results 1 to 9 of 9

How do I hide and unhide cell contents?

  1. #1
    Registered User
    Join Date
    09-18-2013
    Location
    Harare
    MS-Off Ver
    Excel 2007-2010
    Posts
    16

    How do I hide and unhide cell contents?

    When team number is entered, excel must show or hide the the team
    e.g when you enter 5 as the required team number then only 5 teams appear and the rest of the teams are hidden

    I have attached excel file that has the layout.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: How do I hide and unhide cell contents?

    Do right click on sheet tab and select view code and paste the below code... Return to excel and check...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How do I hide and unhide cell contents?

    Hello cdmterence,

    when you enter 5 as the required team number then only 5 teams appear and the rest of the teams are hidden
    Maybe as per the attached sample Workbook then?

    Regards
    Attached Files Attached Files
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Registered User
    Join Date
    09-18-2013
    Location
    Harare
    MS-Off Ver
    Excel 2007-2010
    Posts
    16

    Re: How do I hide and unhide cell contents?

    Thanks a million the excel sheet works great

  5. #5
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How do I hide and unhide cell contents?

    Hello cdmterence,

    Thank you for the feedback!

    You are welcome.

    Glad I could help.

    If you are satisfied with the solution I had given you, then please mark your Thread as Solved.

    You may also Click on the Star to the far left, at the bottom of this Post, to Add Reputation.

    Regards.

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How do I hide and unhide cell contents?

    Hello cdmterence,

    Thank you for marking this thread as Solved, and adding to my Reputation.

    Regards

  7. #7
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: How do I hide and unhide cell contents?

    Try this! No VBA necessary...
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-18-2013
    Location
    Harare
    MS-Off Ver
    Excel 2007-2010
    Posts
    16

    Re: How do I hide and unhide cell contents?

    You welcome

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How do I hide and unhide cell contents?

    Hello Xx7,

    Try this! No VBA necessary...
    I have also considered that option, still with a Dropdown to select the number of teams.

    But then I realised that if there are any other non formulae related data, colors, or any other formatting in any adjacent Cells, it would remain visible. That is why it left me no other option but than going with VBA, to hide non related info.

    Regards.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hide Worksheets when a single cell changes from 1 to 0, Unhide when value changes to 1
    By Craig Gatford in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-15-2012, 01:55 AM
  2. Hide/Unhide sheets when a cell has a certain value
    By Magical in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2012, 03:16 PM
  3. [SOLVED] Using Value in Cell to hide/unhide rows
    By maayub15 in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 03-15-2012, 02:23 AM
  4. Hide Unhide Columns on certain cell value
    By gmalpani in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 11-24-2011, 11:05 AM
  5. hide cell contents without column or row hide
    By ravergirl7216 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2010, 11:20 AM

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