+ Reply to Thread
Results 1 to 7 of 7

Splitting out Excel data to multiple files based on one column values

  1. #1
    Forum Contributor
    Join Date
    05-21-2014
    Location
    United States
    MS-Off Ver
    Office 365 on Windows 10
    Posts
    122

    Question Splitting out Excel data to multiple files based on one column values

    Hi all, I need help with this Sheet1 to Many Workbooks macro that I found in an old thread linked below.

    http://www.excelforum.com/excel-prog...ns-values.html

    My question is which part of the code do I need to remove so that it does not save the new files with the current date in the file names.

    Thank you!

  2. #2
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Splitting out Excel data to multiple files based on one column values

    You'd remove this section:

    Please Login or Register  to view this content.
    Want to show appreciation for the help you received from a member? Give them reps by clicking the bottom left of their post!

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Splitting out Excel data to multiple files based on one column values

    with respect to JB..

    change this line
    Please Login or Register  to view this content.
    to this..
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Forum Contributor
    Join Date
    05-21-2014
    Location
    United States
    MS-Off Ver
    Office 365 on Windows 10
    Posts
    122

    Re: Splitting out Excel data to multiple files based on one column values

    Thanks everyone. I ran into a weird issue when I ran this macro. My data is in columns A-AL, so I set the title row range from A1 to AL1. However, when I ran the macro, it seemed to create a bunch of extra blank columns from AM to EE. I say it appears to be an issue because when I scroll all the way to the right, it goes to column EE as opposed to the last column with data in it (AL), but again, those columns are empty.

    Any ideas what would cause this to happen?

  5. #5
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Splitting out Excel data to multiple files based on one column values

    Can you post the code so we don't have to go get it and then speculate as to how you changed it?
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  6. #6
    Forum Contributor
    Join Date
    05-21-2014
    Location
    United States
    MS-Off Ver
    Office 365 on Windows 10
    Posts
    122

    Re: Splitting out Excel data to multiple files based on one column values

    Yes, sorry. Here is the code. Looks like there are several references to "EE" in the default code so I'm assuming it is related to those.


    Please Login or Register  to view this content.

  7. #7
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Splitting out Excel data to multiple files based on one column values

    So when you say scroll what do you mean? Are you holding down control and using right arrow and you expect it to stop at AM and instead it's going to EE?

    The code is taking a column that you specify and copying it to column EE probably because that's far enough to the right that there's little chance you will have existing data there. The code clears that data, when it's done with it but if you using control + right arrow and it's going to that column then there's something in Excel that's causing it to do that. Might be because usedrange incorporated that column. There shouldn't be any data in that column. If there is not data in that column why is this an issue to you?
    Last edited by skywriter; 11-04-2015 at 04:57 PM.

+ 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. Split one Excel file into multiple files based on values in column A?
    By MetroBOS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2015, 10:59 AM
  2. [SOLVED] splitting data into multiple tabs based on column criteria
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-02-2014, 02:30 PM
  3. [SOLVED] splitting data into multiple tabs based on column criteria
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-26-2014, 11:57 PM
  4. [SOLVED] Splitting Excel sheet into multiple sheets based on random values of a column.
    By Preeti1309 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 04-22-2014, 11:07 PM
  5. Splitting data into seperate spreadsheets based on column values
    By narendrabr in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-03-2014, 07:16 AM
  6. How do I combine splitting data into files then splitting the new files data into multiple
    By Lauraguthrie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2013, 01:18 PM
  7. Splitting out Excel data to multiple files based on one column's values
    By machos in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2011, 08:55 AM

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