+ Reply to Thread
Results 1 to 5 of 5

Filter multiple tables and columns and automaticall add new tables to macros

  1. #1
    Registered User
    Join Date
    08-29-2021
    Location
    Australia
    MS-Off Ver
    MS365
    Posts
    3

    Filter multiple tables and columns and automaticall add new tables to macros

    Hi all,

    I'm new here and also new to VBA so any help would be greatly appreciated.

    I have undertaken a bit of a task at my workplace to help myself further develop my skills and knowledge but I seem to have hit a massive roadblock in it that I can't seem to overcome. As stated, I am new to VBA having never used it prior to now so I have probably gone about this in an extremely difficult way.

    Basically I have set up an excel spreadsheet to help monitor a bunch of information. Within this spreadsheet, I have inserted a button that will copy and paste a table from a hidden sheet as each day a new table will need to be inserted. My issue is that none of my macros will be applied to this new table. I have set up another button that will open a user form to filter certain columns by different categories then opening another user form to apply a checkbox (checkbox will only work once, I'm yet to work out how to use it to toggle a filter on or off) but when inserting a new table, my filtering macro won't be applied to this new table or any subsequent macros.

    Lastly, one of the categories I have set up applies to three different columns that could all apply as they all come under the same condition. I basically need this one to be able to search all 3 columns for the same condition and/or apply 3 different conditions to each column.

    These have all been setup using the record macro feature. I have spent several hours trying to find these answers but I can't seem to find them.

    Edit: I did have a look to see if I could find the answer to these questions before posting but I couldn't see anything that seemed to answer my question accurately. This could also be a case of not really knowing what I'm looking or so I apologize if that's the case.

    Thank you very much for any help anyone is able to provide.
    Last edited by HarleyRidesBMX; 08-29-2021 at 09:50 AM.

  2. #2
    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,458

    Re: Filter multiple tables and columns and automaticall add new tables to macros

    Welcome to the forum.

    You have posted in the Access section - is this correct?

    2106 is a release number for MS365 - the latter is what you need to have in your profile, please.
    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.

  3. #3
    Registered User
    Join Date
    08-29-2021
    Location
    Australia
    MS-Off Ver
    MS365
    Posts
    3

    Re: Filter multiple tables and columns and automaticall add new tables to macros

    Probably not the correct section. I landed here in this section from a google search and saw people asking about tables so I assumed I'd be in the right place but not so sure now. Is there any way to move it?

    Also I have changed my profile to suit.

  4. #4
    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,458

    Re: Filter multiple tables and columns and automaticall add new tables to macros

    Thread moved to the Excel VBA section.

    There are instructions at the top of the page explaining how to attach your sample workbook.

  5. #5
    Registered User
    Join Date
    08-29-2021
    Location
    Australia
    MS-Off Ver
    MS365
    Posts
    3

    Re: Filter multiple tables and columns and automaticall add new tables to macros

    Thank you for moving it and my apologies for putting it in the wrong section.

    I think have attached my workbook. It's quite a messy setup but that's what I've got so far.
    Attached Files Attached Files

+ 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: 1
    Last Post: 12-01-2019, 01:13 PM
  2. Macros Tables and Pivot Tables
    By thenotoriousjeff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2015, 01:07 PM
  3. One filter/ Master filter multiple pivot tables based on worksheet...
    By jlworden in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-10-2013, 11:16 AM
  4. [SOLVED] One filter/ Master filter for multiple pivot tables...
    By jlworden in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-09-2013, 04:35 PM
  5. Duplicate Report Filter and Row Labels Filter Across Multiple Pivot Tables
    By tash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 05:32 PM
  6. Replies: 1
    Last Post: 12-20-2012, 09:24 PM
  7. Replies: 3
    Last Post: 06-23-2009, 01:36 PM

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