+ Reply to Thread
Results 1 to 5 of 5

Use a value on active sheet to filter tables on other inactive sheets

  1. #1
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Question Use a value on active sheet to filter tables on other inactive sheets

    Hi All

    This may be a bit of a cross post from my question earlier here:
    https://www.excelforum.com/excel-pro...ss-failed.html

    But this time, rather than asking if you can figure out what is wrong/broken in my spreadsheet, I would ask how you would solve the problem as I'm sure the fine folks on this forum will have a more elegant solution

    The challenge is:
    When the [Employees] table is filtered down to a single row, the 'Employee ID' will populate in cell C9
    How can you use this value in C9 to automatically filter the other 2 tables on sheet3 and sheet4.
    (the employee ID being the primary key between all 3 tables)

    Any & all suggestions welcome
    Many thanks in advance
    Vicky
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: Use a value on active sheet to filter tables on other inactive sheets

    As there is much repetition between the three tables my first question would be why 'three tables'.
    They appear to be only used as data storage, so make it simple as one pseudo database.
    Use a 'UserForm' in preference to on sheet textboxes & comboboxes - far easier to keep the coding in its own envelope.
    Give the attached a trial - to create a new record first press 'NEW' - fill in data - press 'ADD' to save - the rest should be intuitive.
    The search box searches on the Employee ID and interacts with the search listbox - the listbox can be used independently to search.
    To launch 'UserForm' press green button in upper left cell.
    torachan.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Question Re: Use a value on active sheet to filter tables on other inactive sheets

    Hi All

    Any ideas would be much appreciated

    All the best
    Vicky

  4. #4
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Use a value on active sheet to filter tables on other inactive sheets

    Wow Torachan

    Apologies, if I had of refreshed the page before my last post I would have seen your reply
    That's an amazing bit of work thank you! Although I fear it's too far above my comprehension of vba to fix it if something goes wrong, as that's well beyond my skill level

    I will trial it this morning and see how I go
    Thank you

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Use a value on active sheet to filter tables on other inactive sheets

    You should indeed refresh before bumping, however we ask that you don't bump within 24 hours of your previous post: please be patient. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 2
    Last Post: 06-08-2020, 11:27 PM
  2. Updating active/inactive part numbers tables from 2 workbooks
    By Byebye14 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2019, 09:53 AM
  3. [SOLVED] Cut data from inactive sheet and paste them in active sheet after last row
    By Roshan.Shakya in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-08-2019, 09:50 AM
  4. [SOLVED] Remove active filter on all sheets
    By Berna11 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2017, 12:07 PM
  5. [SOLVED] IF - Active/Inactive Change
    By rnk4f in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-27-2017, 05:10 AM
  6. Jumping to a hyperlink using a string, refreshing active and updating inactive sheets.
    By Daniel Brown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2015, 07:42 PM
  7. [SOLVED] Mark Active-InActive
    By rizmomin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-13-2013, 07:26 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