Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have a slightly different problem to the one posted in "Import and Split CSV" my file is small my data in the CSV file looks like this (all on one sheet): (2006-04-22 13-00) Sydney Cup Day SEVEN NAME1 xxxx xxxx xxxx Total for NAME1 NAME2 xxxx xxxx xxxx Total for NAME2 What I would like is when the file is imported for the macro to look through the CSV selects all data relating to NAME1 (so it selects Name1 and everything below NAME1 till the blank line) copy the data (entire row) and paste it into a new sheet titled "Name1" or what ever is in the cell where name1 is. Then repeat this for all subsequent data in the csv file so you get a sheet titled Name2, Name3...etc with just the data relating to that name in the sheet. Is this possible? If not can someone suggest how I would do this? Your suggestions dont really need to be import based a macro that just splits up the main data sheet will work just as well. If you dont have a solution I would appreciate some tips or any advise you have to offer. Ive been working on this for some time now and i have limited VBA knowledge but am learning slowly so any help is greatly appreciared. Thank you. -- Vlad999 ------------------------------------------------------------------------ Vlad999's Profile: http://www.excelforum.com/member.php...o&userid=33586 View this thread: http://www.excelforum.com/showthread...hreadid=545708 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
xml import....Size limit?? Can the XML file be split?? | Excel Discussion (Misc queries) | |||
How do I remove split a split window? | New Users to Excel | |||
How to Start Excel in Text Import Wizard for data import | Setting up and Configuration of Excel | |||
Import and Split CSV | Excel Programming | |||
Import and Split CSV | Excel Programming |