+ Reply to Thread
Results 1 to 3 of 3

Import and sort macro from multiple sources

  1. #1
    Registered User
    Join Date
    08-03-2009
    Location
    C-bus
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Import and sort macro from multiple sources

    I apologize in advance if I am throwing too many things out at once. I understand what I need may be more than one macro and potentially one huge pain in the rear. If someone could help me understand just a portion of this I am going to call it a win.

    Okay

    What I am trying to do in essence is import,organize and add formulas to several different documents. I am pulling raw data into 5 different text documents. Now I can have the export use a colon or semicolon as a deliminator. OR I can have the information put into 5 different workbooks but I stayed away from that because I thought it would be slower. (I'm adding this info incase it makes a difference for the macro)

    I need the data from these 5 sheets imported to one central Workbook preferably one tab for each document. Once in the central workbook I need to sort them into categories. Keeping in mind that there is some overlap between documents, Meaning that each document currently represents a location that handles different products and it is not uncommon for a single product to be handled by multiple locations. (Hopefully that's not too confusing)

    For this portion I am not expecting someone to just hand me a script but more or less point me in the right direction as far as how to build a script that could sort that information.

    Lastly once sorted I need a script that will update the information by half hour. In other words at 12:00pm I would like to run the macro and have all the current data for our clients sorted and set down the column and at 12:30 would use the next column and so on.

    I do not have an issue with having to run the macro every half hour. However if there is a way to automate that as well it would be appreciated.

    **Because I'm not sure if its relevant here is some information about the data I currently export.

    Document 1: 11 Columns 398 Rows
    Document 2 11 Columns 245 Rows
    Document 3 11 Columns 25 Rows
    Document 4 11 Columns 22 Rows
    Document 5 11 Columns 50 Rows

  2. #2
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Import and sort macro from multiple sources

    Hi
    try the macro in this link
    http://www.excelforum.com/excel-prog...ets-macro.html which pulls data from multiple text files to excel. If necessary record your own macro to import text file and replace it.
    Ravi
    Last edited by ravishankar; 08-05-2009 at 05:08 AM.

  3. #3
    Registered User
    Join Date
    08-03-2009
    Location
    C-bus
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Import and sort macro from multiple sources

    This is very much a step in the right direction. Thank you much!

+ 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