+ Reply to Thread
Results 1 to 1 of 1

Modify code that splits data from master worksheet to multiple workbooks

  1. #1
    Registered User
    Join Date
    06-20-2019
    Location
    Edinburgh
    MS-Off Ver
    2016
    Posts
    1

    Modify code that splits data from master worksheet to multiple workbooks

    Hi,

    I found some useful vba code online to copy specific data to a new workbook based on the column chosen and was able to modify the code to meet my requirements.

    I would like to modify the code some more in order to copy the following worksheets to each of the new workbooks before they are saved to the folder location:

    Worksheet “Supplier Name” to be copied to the beginning of each new workbook generated by the criteria chosen in the column
    Worksheet “Activity Codes” to be copied to the end of each new workbook generated by the criteria chosen in the column

    Ideally I would also like to copy the chosen criteria to different worksheets based on school and scope, currently all data is copied to a new workbook named sheet1 for each school regardless of whether it is in or out of scope.

    My new workbooks would then have the following – A workbook saved for each school

    Worksheets:

    Supplier List(copied from master file)
    In – criteria copied from chosen column (school) but ideally only those that are in scope
    Out - criteria copied from chosen column (school) but ideally only those that are out of scope
    Activity Codes (Copied from master file)

    I have attached a sample file for reference.

    Thank you in advance.
    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. Code for pulling data from multiple files into one master worksheet
    By MP1989 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-30-2018, 05:14 AM
  2. [SOLVED] Need help to modify the code so that it splits the workbook into individual worksheet
    By raghuprabhu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2017, 02:29 AM
  3. Formula for Master worksheet to pull data from multiple closed workbooks...
    By Batman24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2014, 06:24 AM
  4. Copying data from multiple workbooks having multiple sheets into one master worksheet
    By Navya Ahuja in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2014, 09:42 AM
  5. [SOLVED] Need to modify VBA Code that copies multiple sheets to a master sheet
    By AXGirl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-02-2014, 04:37 PM
  6. Hi, By using VBA code how to modify the Master Data by Using commandbutton
    By veerakumar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-13-2013, 04:01 AM
  7. Modify exiting Macro Export data from multiple workbooks and Import into 1 Master workbook
    By SerenitynWisdom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 11:55 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