+ Reply to Thread
Results 1 to 1 of 1

Looking for a VBA code to hide rows based on a single cell value

  1. #1
    Registered User
    Join Date
    01-15-2010
    Location
    Scottsdale
    MS-Off Ver
    Excel 2010
    Posts
    72

    Looking for a VBA code to hide rows based on a single cell value

    Hi all,

    New to VBA, but I am looking for a code that will look up the value in cell A1 (which is linked to form controlls) and hide certain rows based on its value. May be able to accomplish the same thing with active X controls but you all can decide as I have never used them.

    Essentially I have 4 rows with my "groups" in them and I would like to hide all rows that are not selected in the form control. So it "total" is selected in the control I would like the other 3 rows to be hidded. The example attached should help clear up what I am looking for in the case that I did not explain it well.

    Cheers!
    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)

Similar Threads

  1. Hide Rows based on the value of a drop down menu in a single cell.
    By sayoban in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2013, 04:36 PM
  2. Hide cells based off of a single remote cell
    By Joe B001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2012, 04:40 PM
  3. Help: Code to hide multiple rows based on different cell values
    By swamy156 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-24-2012, 04:35 AM
  4. Macro to hide several rows based on contents of one single cell
    By cbsalt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-23-2010, 12:39 PM
  5. Modify code to hide rows based on the contents in a cell.
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2009, 09:07 PM

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