+ Reply to Thread
Results 1 to 4 of 4

How can I hide the rows based on the cell reference..

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016,office 365
    Posts
    69

    How can I hide the rows based on the cell reference..

    Hello guys,

    Pls help on the below request....

    I need the code for hiding the rows based on the cell reference..

    Pls find the sample sheet.

    In that sheet1 C1 = 500, In B column, each cell value is >500 to be hide.
    If I Change C1 to 1000, then in B column, cell value is >1000 to be hide
    Attached Files Attached Files
    Last edited by krishnakuma6; 10-08-2012 at 03:34 AM.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: How can I hide the rows based on the cell reference..

    Hi, krishnakuma6,

    right click on tab for Sheet1, View Code, Code goes behind Sheet1 and will be fired if Cell C1 in Sheet1 is changed manually:

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    08-30-2012
    Location
    UAE
    MS-Off Ver
    Excel 2016,office 365
    Posts
    69

    Re: How can I hide the rows based on the cell reference..

    Thx HahoBe,It's workimg fine,I need one more favour from you, Plss change the status as solved, I don't know how to change.

    Once again Thx a lot

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: How can I hide the rows based on the cell reference..

    Hi, krishnakuma6,

    only the thread opener and moderators/administrators can do according to the settings, so please have a look at [url=http://www.excelforum.com/faq.php[FAQ[/url]:
    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save
    HTH
    Holger

+ 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