+ Reply to Thread
Results 1 to 13 of 13

vba to split unique values in column P:P along with existing sheet of partner

  1. #1
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    vba to split unique values in column P:P along with existing sheet of partner

    Dear expert

    I have rawdata workbook i want split unique values as new workbook from column P:P to desire location save with new name along with existing sheet of Partner!

    find the attachment of zipfile

    I want split as workbooks of TE001 FY 16.xlsb FY-16 sheet name along with Partner, and another workbook TE003 FY 16.xlsb sheet name along with Partner from column P:P.

    assume that TE001 rows more than 65000,TE003 rows more than 85000.

    Regards


    vba to split unique values in column P:P along with existing sheet.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to split unique values in column P:P along with existing sheet of partner

    Any experts help on this?

  3. #3
    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: vba to split unique values in column P:P along with existing sheet of partner

    Hi John

    Been a bit busy the last several weeks as a result of a major hail storm. I'll look at this ASAP...seems like a rather direct Filter exercise...except that Xcel sometimes has Filtering issues with that many records.

    If no one has responded I'll look at it...currently dealing with the Siding Contractor...next week the Roofing Contractor...won't be immediately.
    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.

  4. #4
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to split unique values in column P:P along with existing sheet of partner

    Ok sir No probs waiting for your valuable respond from experts!!

  5. #5
    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: vba to split unique values in column P:P along with existing sheet of partner

    Hi John

    Do you have a "Desired" location to which to save the newly created Workbooks or do you wish the User to select the "Save To" location?

    Regarding this...does it mean as it says ("EXISTING SHEET") with no modification?
    along with existing sheet of Partner!
    Are there only two PUDO Codes?

  6. #6
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to split unique values in column P:P along with existing sheet of partner

    ya there is only two pudo i just used to reduce the file size.

    this is my desire location : C:\Users\Admin\Desktop\Mohan and yes i meant the exisiting sheet is called Partner sheet only with no modification

  7. #7
    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: vba to split unique values in column P:P along with existing sheet of partner

    Hi John

    This Code is in the attached and appears to do as you require. If the PUDO Workbooks do not exist the Code creates them. If they do exist Data is cleared and then updated with fresh Data.

    CTRL + x will fire the Code...let me know of issues.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to split unique values in column P:P along with existing sheet of partner

    Ya It works sir but its prompt the P:P column values by array i dont want assign the value in the code array , becoz i have N number list of values like TE001,TE002....TE100 Etc so it take me hard time to assign the pudo in code filter array.i want take unique values of P:P depends upon no of values split workbook and one more I want move partner sheet along with data of A:B Range. thanks alot

    Find the attachment
    Attached Files Attached Files
    Last edited by johnmacpro; 08-08-2016 at 02:10 AM. Reason: att

  9. #9
    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: vba to split unique values in column P:P along with existing sheet of partner

    Hi John

    So, there will be more than two PUDO Codes...that's fine...can be handled.

    Regarding the Partner worksheet...should it include ONLY the Partners for each individual PUDO Code? Or, should it include ALL the Partners in Master sheet DATA?

  10. #10
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to split unique values in column P:P along with existing sheet of partner

    Ya partner sheet should include all partners as of now A1:B20 ,Copy to all splited workbooks

  11. #11
    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: vba to split unique values in column P:P along with existing sheet of partner

    Hi John

    The Code has been modified to create a list of all available PUDO Codes and cycles through that list to create the individual workbooks. If the Partner worksheets are incorrect you'll need to define better for me what you require.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to split unique values in column P:P along with existing sheet of partner

    Kudos master amazing stuff Solved!!

  13. #13
    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: vba to split unique values in column P:P along with existing sheet of partner

    You're welcome...glad I could help.

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

+ 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] VBA to split report according to segmentation of rows unique values to sheet check
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2016, 08:09 AM
  2. [SOLVED] VBA to Split Records For 3 set of Unique Values in column P:P as new workbook to path
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2016, 03:12 AM
  3. VBA to split unique values from 2 sheet end with formula
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2016, 11:03 AM
  4. split column values as new wb along with 2 existing sheet (dashboard&pivot)
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2014, 05:54 AM
  5. Split Data Unique Value From 2 Sheet of A column and Move to 2 Sheet with Splited Values
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2013, 04:21 AM
  6. Replies: 2
    Last Post: 02-13-2013, 03:14 PM
  7. Split Rows For Unique Values In A Column To Different Workbooks
    By ashishmac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2013, 02:45 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