+ Reply to Thread
Results 1 to 4 of 4

double clicking on cells to filter data

  1. #1
    Forum Contributor
    Join Date
    04-08-2008
    Posts
    121

    double clicking on cells to filter data

    Hi Guys,

    Please see attached. I've got some code on Sheet 2 of the workbook that when I double click on cells in column 3 it filters in sheet 1 between the 2 dates. How can I add further columns to double click cells, for example on the sheet 2 I want to double click on cells in column 4 to filter for the number of contracts? Is that possible?

    Any help would be much appreciated.

    Many thanks
    Harry
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Added code to test for column 3, to 6 double clicked

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Forum Contributor
    Join Date
    04-08-2008
    Posts
    121
    Thanks - I don't need message boxes, I just need it to filter in sheet1 for column 4 to show number of completed contracts when I double click on cells in column 4, sheet 2.

    At the moment when you click on the cells in column 3, sheet 2, the 1st column is filtered for dates in sheet 1.

    I want to do the same as that but for contracts completed.

    Hope it makes sense
    Harry
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    baz0912

    Based on the code in the book I assumed you would know how to replace the msgbox code with the filter code you required and was just looking for a method to track which column was double clicked
    Please Login or Register  to view this content.

+ 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