+ Reply to Thread
Results 1 to 2 of 2

Need macro to read single datasheet to multiple sheets..

  1. #1
    Registered User
    Join Date
    07-13-2010
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2003
    Posts
    1

    Need macro to read single datasheet to multiple sheets..

    Hi,

    I'm in great need of a macro that will take an existing single 'datasheet' of records, read through all the records, and copy each individual record to a new tab (leaving the original datasheet intact).

    The data is organized as follows:
    * Each record is 8 columns wide, but varies in number of rows.
    * Each record is 'delimited' by the word "Company" in a single cell, followed by another cell with a number value.
    * The datasheet contains 200-300 records; So we'd like to have a macro that creates 200-300 sheets, one for each Company record, with the tab name being Company + Number.
    * Within the data sheet, the first five rows are not records; They are dedicated to header info (report title, date, etc.)

    Any help with providing a macro or code stub(s) would be greatly appreciated...

    Many Thanks,
    - KJHScmidt

    P.S. The datasheet originally begins life as a text file (tab-delimited fields). The data structure above is the result of importing into excel using default options.

  2. #2
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Need macro to read single datasheet to multiple sheets..

    Hi KJHScmidt;

    I'm doing this off the top of my head so back up first.
    Please Login or Register  to view this content.
    Last edited by foxguy; 07-15-2010 at 02:52 AM.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ 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