+ Reply to Thread
Results 1 to 1 of 1

Vb code to hide/unhide rows based on entries on another sheet

  1. #1
    Registered User
    Join Date
    10-11-2012
    Location
    Lake Elsinore
    MS-Off Ver
    Excel 2010
    Posts
    46

    Vb code to hide/unhide rows based on entries on another sheet

    Hello to all,

    With the help of Dave from another forum, I was able to get code to start what I needed to do; however, I still need additional help and would appreciate any input you would give.

    Task:
    A part number is entered into Cells - "C" (3), or "L" (12) or "T" (20) on the Product Information Sheet.
    1) If a part number is entered in Cell "C" then the corresponding Row on the Pricing Calulation Sheet (Rows 33 thru 112) needs to be unhidden - INCLUDING Row 113 (this is the total for this product type).
    2) If a part number is entered in Cell "L" then the corresponding Row on the Pricing Calulation Sheet (Rows 119 thru 198) needs to be unhidden - INCLUDING Rows 117 & 118 (headers for the product type) and Row 199 (total for product type).
    3) If a part number is entered in Cell "T" then the corresonding Row on the Pricing Calulation Sheet (Rows 205 thru 284) needs to be unhidden - INCLUDING Rows 203 & 204 (headers for the product type) and Row 285 (total for product type).
    4) If any Cell has a part number entered then Row # 289 needs to be unhidden.

    The code that I currently has - only works if a Part number is entered into Cell "C".

    Please Login or Register  to view this content.
    I'm attaching sample sheets for you to review and assist if possible.

    Regards,
    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. Replies: 2
    Last Post: 09-22-2014, 12:52 PM
  2. Need code to hide and unhide a row based on if other rows are hidden or unhidden
    By aradov in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-20-2014, 02:06 PM
  3. [SOLVED] How VB code can unhide/hide rows based on combobox selection?
    By jgomez in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-04-2012, 01:25 PM
  4. Code to Hide and Unhide Rows
    By jcoulter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2012, 10:38 AM
  5. Hide/Unhide Rows VBA code Changes Help
    By Justinmih in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-12-2011, 04:24 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