+ Reply to Thread
Results 1 to 5 of 5

VBA for Relative reference filter

  1. #1
    Registered User
    Join Date
    12-28-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    28

    VBA for Relative reference filter

    Hi Guys,

    Can somebody help me please. I work on big excel files with many product lines. Very frequently I need to filter product lines by product code. The way I do it now, is right click on the product code, the select filter and then filter by selected cell’s vale

    What I need is a VBA that filters to me the cell where the mouse is, i.e. filter the relative reference (wherever the mouse is).

    Thanks and appreciate our help.

    Nasser

  2. #2
    Registered User
    Join Date
    12-28-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: VBA for Relative reference filter

    Dear All,
    Appreciate if someone can help me with this one as i need it urgently.
    regards
    nasser

  3. #3
    Registered User
    Join Date
    12-28-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: VBA for Relative reference filter

    Dear All,
    Appreciate if someone can help me with this one as i need it urgently.
    regards
    nasser

  4. #4
    Registered User
    Join Date
    12-28-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: VBA for Relative reference filter

    Dear Excel Gurus,
    appreciate if someone can help me wiht this autofilter VBA, i desperately need it.
    appreciate it.
    Nasser

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: VBA for Relative reference filter

    Copy the below code and do right click on sheet tab and select view code and paste it.

    Close the VBA window (Alt+Q to close VBA window) and return to that sheet and check.

    Please Login or Register  to view this content.
    Do double click on any cell of that sheet which will trigger the autofilter


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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. 3-D Relative Reference
    By yandoodan in forum Excel General
    Replies: 5
    Last Post: 08-13-2013, 04:31 PM
  2. Replies: 5
    Last Post: 09-21-2012, 02:08 PM
  3. change from relative reference to absolute reference
    By ronlau123 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2011, 04:57 AM
  4. Relative Reference
    By JDMCMAMC815 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2010, 02:33 PM
  5. Replies: 0
    Last Post: 11-15-2007, 02:35 AM

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