+ Reply to Thread
Results 1 to 1 of 1

Split Workbook into multiple workbooks based on two columns

  1. #1
    Registered User
    Join Date
    05-15-2017
    Location
    Hampshire
    MS-Off Ver
    2010
    Posts
    5

    Split Workbook into multiple workbooks based on two columns

    Hi,

    I hope everyone is well.

    I am look for some help. I am looking to automate a workbook which splits the data from the master file to the individual workbooks based on column H. What needs to be done first is that Column T needs to be filtered to 'Owned' or 'Impacted'. Column H then needs to be split into the separate workbooks. based on what may be in column H. On each new workbook created, whatever is under column H there needs to be two tabs, one tab for 'Owned' and one tab for 'Impacted'. This would need to be then saved as whatever the name of the cell was and the date.

    The additional difficult bit is under column H, in each cell as per the attached there could be A, B, C, D, E, F as individual cells, but there could also be cells with multiple letters in them. If they have multiple letters each one needs to go into all the workbooks that are mentioned in the cell. So, for example if there is a cell with A, B, C, D, this would mean it would have to go into the workbook for the individual workbooks for A, B, C, and D.

    I have attached the file and I have the below code which I used. It does work, however due to the above issue with the multiple criteria in the cells it is splitting the workbooks further into individual workbooks. Does anyone know if a drop down can be added where I can select the criteria from column H and T, or another work around please. I am happy to try another code if necessary. Example workbook attached as well.

    Please Login or Register  to view this content.

    Thanks 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. [SOLVED] Split One Workbook into Multiple Workbooks
    By billy_t in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2015, 12:13 PM
  2. Split workbook into multiple workbooks with worksheets
    By itgeltugs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-21-2014, 11:51 PM
  3. Replies: 1
    Last Post: 04-20-2014, 02:48 PM
  4. [SOLVED] Split workbook into multiple workbooks based on data
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2014, 12:26 AM
  5. Split a workbook into multiple workbooks
    By stewfeed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2013, 07:15 AM
  6. How to split workbook into multiple workbooks based on date range
    By simoncurrier in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2013, 06:50 AM
  7. Split .xlsm workbook into multiple xlxs. workbooks
    By thelenw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2011, 04:28 PM

Tags for this Thread

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