+ Reply to Thread
Results 1 to 6 of 6

Autopopulate Secondary Worksheets based on Criteria from Master

  1. #1
    Registered User
    Join Date
    06-19-2018
    Location
    All Over, USA
    MS-Off Ver
    2013
    Posts
    3

    Autopopulate Secondary Worksheets based on Criteria from Master

    I am trying to basically extend a filter of criteria to secondary worksheets. I can't upload the original file, but in the one I have uploaded, how would I go about populating the "Loud" Worksheet with just items listed as "Loud" under Criteria 3? I would want all columns copied over.

    Thanks.
    Attached Files Attached Files
    Last edited by CCKIM; 06-19-2018 at 03:41 PM. Reason: Solved

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Autopopulate Secondary Worksheets based on Criteria from Master

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-19-2018
    Location
    All Over, USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Autopopulate Secondary Worksheets based on Criteria from Master

    Wow, that was quicker than expected. Will this run automatically when I open the workbook, or will I need to run it manually?

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Autopopulate Secondary Worksheets based on Criteria from Master

    Another option
    Please Login or Register  to view this content.
    EDIT:
    Changed code to run on workbook open
    Last edited by Fluff13; 06-19-2018 at 10:45 AM.

  5. #5
    Registered User
    Join Date
    06-19-2018
    Location
    All Over, USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Autopopulate Secondary Worksheets based on Criteria from Master

    I was working with the initial response from alansidman, which worked well but didn't run on open. I tried to adapt it to run on open but was getting an error I couldn't work out. I was able to use your code and adapt it to my workbook successfully with a little bit of trial and error. Thanks!

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Autopopulate Secondary Worksheets based on Criteria from Master

    Glad we could help & thanks for the feedback

+ 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. Need help to selectively autopopulate secondary sheet from mastersheet
    By RYANSCAT01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2015, 10:28 AM
  2. Autopopulate based on multiple criteria
    By Saint138 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-26-2014, 05:35 PM
  3. [SOLVED] Copy rows in a master sheet to correct 'secondary' worksheets
    By figaro57 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-09-2013, 10:31 PM
  4. Replies: 2
    Last Post: 04-05-2012, 12:35 PM
  5. [SOLVED] Transferring info from a master worksheet to secondary worksheets
    By NFregia in forum Excel General
    Replies: 7
    Last Post: 03-30-2012, 02:45 PM
  6. Replies: 5
    Last Post: 01-06-2011, 09:29 AM
  7. Having Secondary Worksheets Pull From A Master Worksheet
    By bluetea.55z in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2010, 09:46 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