+ Reply to Thread
Results 1 to 3 of 3

Worksheet selection change

  1. #1
    Registered User
    Join Date
    04-19-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    50

    Worksheet selection change

    Hi All,

    I'm currently building a front page for a spreadsheet, the front page makes use of the subtotal function to count only visible cells to give different stats as the data is filtered.

    This part is complete, however i'm having a little trouble with the filter, I've made a list of the front page and I want people to be able to select a value from the list and have it auto filter the data accordingly.

    I've got it to work sort of, the user has to change the cell, leave it and re-enter it for it to work. In fact it runs the code whenever the cell is entered, I want to run when it's changed or exited.

    This is the code
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Thanks in advance, any help is appreciated
    Last edited by sigfreid; 08-22-2011 at 06:17 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Worksheet selection change

    Use the Change event, not the SelectionChange event.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    04-19-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Worksheet selection change

    Ah, brilliant!

    Thank you

+ 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