+ Reply to Thread
Results 1 to 6 of 6

How to hide columns based on cell value in different rows

  1. #1
    Registered User
    Join Date
    06-24-2012
    Location
    mauritius
    MS-Off Ver
    Excel 2007
    Posts
    7

    How to hide columns based on cell value in different rows

    HI All

    As attached, you can see column H with Data Validation, i wanna know if it is possible to unhide column I to M when only "Quay" is selected from column H and hide them when column N on the same row is filled with whichever places.

    That i wanna do is when filling the sheet from B to H, when quay is selected, I to M is unhide, so that i can fill them and when N is filled, it unhides I to M.

    Is it possible

    Please help me with some codes, as i have google some, but have not seen any result of what im looking for

    Thanks to your response

    Ludovic
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: How to hide columns based on cell value in different rows

    Please Login or Register  to view this content.
    Try this out I am no VBA expert I had a similar requirement a few months back so I could tweak.

    http://www.excelforum.com/excel-prog...-a-column.html

    Warm Regards
    e4excel

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: How to hide columns based on cell value in different rows

    Dear Mods,

    Please move this thread to the Excel Programming Section so that this query can get more viewing

    Warm Regards
    e4excel

  4. #4
    Registered User
    Join Date
    06-24-2012
    Location
    mauritius
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to hide columns based on cell value in different rows

    Thanks dude for your help, i moved this question also to excel programming, if anyone here knows something please help

    Ludovic

  5. #5
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: How to hide columns based on cell value in different rows

    Hey does that mean you have got it solved or do u still require more help.
    Incase if SOLVED please mark the thread SOLVED by going in Thread Tools.

    If you do not know how to use this..!
    By Right Clicking on the SHeets Tab View Code just COPY the code and then paste it in the Worksheet--where you want this to be implemented..
    Last edited by e4excel; 06-25-2012 at 01:41 AM.

  6. #6
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: How to hide columns based on cell value in different rows

    It works ludovic..Did u enable the Macro?

    Wait let me upload the file..
    Attached Files Attached Files

+ 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