+ Reply to Thread
Results 1 to 2 of 2

Row based excel file split

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    India
    MS-Off Ver
    Excel 97,2003,2007,2010
    Posts
    4

    Cool Row based excel file split

    Hi,

    I'm new to Macro and VBA. I'm looking a Macro or VBA regarding file split based on the row(s). The expected output should be

    1. First Row or Row Header is a constant or common for each file.
    2. Based on Cloumn A or B or C or anyother Column value, the file should be split along with the respective parellel data. Ex: If column A has
    - Adam
    - Brain
    - Charlie
    the output file name will be Adam then Brain then Charlie seperately with the data.
    3. If my file has validation that also should reflect with the file which is split.
    4. Macro or VBA should ask to the user to locate the path where the user wants to create the file. If the path is existed then the split file should create the same location.

    Challenges
    1. Everyday the Column A or B or C or etc will vary.
    2. Everyday the validation will change..

    Help me to Paste the Macro or VBA in my excel book with step by step procedure.

    Note: Please excuse, I can't share the data though it is very sensitive. Hope the requirement is understandable. For further clarification do revert.

    Thanks in advance.

    Regards,
    Vijay
    Last edited by vijay20cbe; 07-19-2011 at 04:03 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Row based excel file split

    'SHEET1 TO MANY WORKBOOKS
    Here's a macro for parsing rows of data from one sheet to many workbooks named for the same values.My macro names the workbooks for values in the column PLUS today's date, you can take a stab at removing the date part...or leave it in, it's a good technique.

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 07-19-2011 at 04:51 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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