+ Reply to Thread
Results 1 to 3 of 3

Question about using change event for forms

  1. #1
    Registered User
    Join Date
    09-22-2014
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    10

    Question about using change event for forms

    I have a spreadsheet that has drop down lists that hides/unhides rows of cells based on the selection, however, after I choose from the first lists (C5,C7,C8) and it hides the correct rows, it unhides them as soon as I choose from the second lists (C83,C89,C95). It is a form and I want to be able to change the selection at any point in the spreadsheet without it "resetting". Does this have to do with the sequence or am I missing a command?[/COLOR]
    Please Login or Register  to view this content.
    I appreciate any help or examples.

    Thanks,
    Nichole
    Last edited by Leith Ross; 09-25-2014 at 01:09 PM. Reason: Added Code Tags

  2. #2
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    186

    Re: Question about using change event for forms

    Hi Nichole,

    I believe this row "Range("A1:A" & Rows.Count).EntireRow.Hidden = False"
    is resetting it, and it is always triggered.

    Regards,
    Rick

  3. #3
    Registered User
    Join Date
    09-22-2014
    Location
    Virginia
    MS-Off Ver
    2010
    Posts
    10

    Re: Question about using change event for forms

    Thanks Rick. I tried that and then it would hide all of the rows when I changed my selection in the drop down list but it made me think about where that line was located and it finally works with the following code:
    Please Login or Register  to view this content.
    Thanks again for the help!
    Nichole
    Last edited by Leith Ross; 09-25-2014 at 01:10 PM. Reason: Added Code Tags

+ 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. [SOLVED] New to Forms-How cancel Multipage change page event?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-02-2013, 08:11 PM
  2. Change event macro question
    By Tessawoolfson in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-27-2008, 06:50 PM
  3. Event Change Question
    By pikapika13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2006, 02:10 PM
  4. [SOLVED] Change event macro Question
    By Martin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2005, 11:00 PM
  5. Another change event question
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-27-2005, 07:06 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