+ Reply to Thread
Results 1 to 6 of 6

VBA code hide/uhide rows

  1. #1
    Registered User
    Join Date
    06-05-2019
    Location
    Birmingham
    MS-Off Ver
    Version 1904
    Posts
    4

    Exclamation VBA code hide/uhide rows

    Hi,


    I have a drop down list in a cell F4. My table is in cells A9:H39, and a column corresponding to drop down list is H (H9:H39) Depending on a choice from a drop down list, some of the cells in column H would show N/A. Upon a different choice from a drop down list, different cells would display N/A. And I would need for the whole row (set of rows) to hide/unhide depending on whether there's a N/A in that "H" cell.

    Can anyone help?

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: VBA code hide/uhide rows

    Is the dropdown a data validation dropdown?
    Also are the values in col H #N/A or just N/A

  3. #3
    Registered User
    Join Date
    06-05-2019
    Location
    Birmingham
    MS-Off Ver
    Version 1904
    Posts
    4

    Re: VBA code hide/uhide rows

    No,It's just a regular drop down.
    Cells filter drop down list and return a value with VLOOKUP and IF formulas; and it's just N/A

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: VBA code hide/uhide rows

    Not sure I understand what you're saying, could you supply a sample workbook?

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    06-05-2019
    Location
    Birmingham
    MS-Off Ver
    Version 1904
    Posts
    4

    Re: VBA code hide/uhide rows

    Did it work?

    The sample file should be attached now.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: VBA code hide/uhide rows

    Thanks for that, how about
    Please Login or Register  to view this content.
    This needs to go in the Tab3 module

+ 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. VBA Code to hide Rows
    By dream_life in forum Excel General
    Replies: 4
    Last Post: 01-18-2019, 05:59 PM
  2. [SOLVED] code to hide rows
    By Excelski in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2018, 09:35 AM
  3. Code to hide Rows
    By Excelski in forum Excel General
    Replies: 0
    Last Post: 05-13-2018, 04:44 AM
  4. [SOLVED] Code to hide rows
    By MissDB in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-09-2015, 07:31 PM
  5. Code to hide rows
    By dezmond in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2011, 09:54 AM
  6. Code to hide rows = 0
    By RunHard in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-12-2009, 05:15 AM
  7. How do I uhide the MENU bar?
    By Robert in forum Excel General
    Replies: 2
    Last Post: 10-02-2005, 08:05 PM

Tags for this Thread

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