+ Reply to Thread
Results 1 to 4 of 4

Help needed for linking hperlink with filtered data across sheets

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Help needed for linking hperlink with filtered data across sheets

    HI -

    I have attached my work book sample. What i want to do is when i click on the cell under "Pass" n sheet 2 it should take me toSheet 1 and display only row number 4 & 9 information i.e. the details of the IP's which have passed in cycle 1.

    I will be extending the logic to other status( Fail,On Hold etc) as well

    Thanks for help!

    Ashwini
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help needed for linking hperlink with filtered data across sheets

    You can do this manually (and quickly) on sheet1 without needing sheet2 at all (or VBA, for that matter):

    1) Click on A1:H1
    2) Select Data > Filter and your AutoFilter arrows will appear
    3) Now you can Autofilter column H any way you want.


    You can also record a macro of you filtering for "PASS", then attach that macro to buttons/cells on sheet2 if you wish. Repeat for other values.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Help needed for linking hperlink with filtered data across sheets

    Hi -

    I know the manual way to do this, but I have copy pasted only a part of my workbook for the reason of keeping the file size low. Yes I have recorded a macro on filtering "Pass", however I need the code to assign the macro to the cell and make the macro run only on double clicking the cell and not single clicking it.

    Thanks,
    Ash

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help needed for linking hperlink with filtered data across sheets

    There is a worksheet event called Worksheet_BeforeDoubleClick. You can use that 'event' to call your macro if they double click on a cell in a specific column. Read up on that.

+ 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