+ Reply to Thread
Results 1 to 4 of 4

Create new worksheets from master sheet based on column contents. Only copy certain fields

  1. #1
    Registered User
    Join Date
    08-10-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2

    Create new worksheets from master sheet based on column contents. Only copy certain fields

    I have a master worksheet that I update continually every day. In attached file example, all fields will usually have data. Is it possible to create new worksheets based on the contents of the Dept/Campus field? So all Campus1 will go on one worksheet, all Campus2 will go on another sheet, etc. In addition to creating new sheets based on the Dept/Campus, I would then like to only copy over these fields from the master sheet: Dept/Campus, Last Name, First Name, Job Code Descrip, Antic FDO, Actual FDO, and Antic RTW. Ideally each worksheet will have the tab name of the Dept/Campus.
    This can be something that either updates each time I update master sheet, or else something that I would just run once per week.
    Once I have separated these into multiple worksheets, I want to create each new worksheet into a PDF. I would be PDF'ing only once per week.
    I can provide additional clarification if needed... thanks for any help you may have.
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Create new worksheets from master sheet based on column contents. Only copy certain fi

    Hi gbt17

    Welcome to the Forum!!!

    The Code in the attached will do this...
    create new worksheets based on the contents of the Dept/Campus field
    I don't know how you anticipate updating the new Worksheets so I've not addressed this as yet...
    Once I have separated these into multiple worksheets, I want to create each new worksheet into a PDF
    Button Code:
    Please Login or Register  to view this content.
    Module 1 Code:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Create new worksheets from master sheet based on column contents. Only copy certain fi

    With 1 button to update/Create the sheets and 1 for create PDF

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-10-2017
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2

    Re: Create new worksheets from master sheet based on column contents. Only copy certain fi

    works perfectly, and my life will be so much easier. Thank you!

+ 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. [SOLVED] Copy rows to master sheet based on contents in column
    By gjw1971 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-08-2017, 06:15 PM
  2. Need to create new sheet based master template and copy some parts over?
    By batmaniac in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-12-2016, 03:58 AM
  3. [SOLVED] VBA Help needed to create sheet based on master sheet column cell values
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2016, 04:58 PM
  4. [SOLVED] Create new sheets from master sheet based on multiple column criteria
    By hamidxa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2015, 02:44 PM
  5. Replies: 11
    Last Post: 05-12-2013, 11:30 AM
  6. [SOLVED] VBA to create many worksheets from one master sheet based on column value
    By Ironman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2012, 02:47 PM
  7. Create sheets based on a column of master sheet
    By samdaddy07 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-10-2009, 02:54 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