+ Reply to Thread
Results 1 to 1 of 1

Problem in restoring the hidden rows

  1. #1
    Registered User
    Join Date
    11-22-2011
    Location
    Noida
    MS-Off Ver
    Microsoft 365 MSO (16.0.13......) 32 bit
    Posts
    40

    Exclamation Problem in restoring the hidden rows

    Hi,

    I am working on a workbook which has two worksheets.
    In first worksheet "Solution Design", I have given conditions using drop down and accordingly I want rows to be hidden in other worksheet "Solution Pricing".

    Action to do:

    If in WS "Solution Design", L9 value = "YES" And L10 value = "Option 1"
    Then in WS "Solution Pricing", hide rows Range("J121:J139,J149:J228")

    Else If in WS "Solution Design", L9 value = "YES" And L10 value = "Option 2" Then in WS "Solution Pricing", hide rows Range ("J120:J171,J173:J190")

    Else If in WS "Solution Design", L9 value = "YES" And L11 value = "Option 1"
    Then in WS "Solution Pricing", hide rows Range("J171:J228")

    Else If in WS "Solution Design", L9 value = "YES" And L11 value = "Option 2" Then in WS "Solution Pricing", hide rows Range("J120:J171")


    I have tried writing a macro for this but unfortunately its not behaving properly. When I change the selection it makes change without unhiding the last hidden rows.
    I think I am making a mistake in writing a False statement to unhide.

    Below is the code I have tried. Please help in correcting this code.

    Please Login or Register  to view this content.
    Br,
    gmalpani
    Last edited by gmalpani; 01-26-2012 at 04:24 PM. Reason: Changing code terms

+ 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