Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all ! First, I would like to say I'm a VBA novice, I'm not a programmer. I really don't know how to do the following question: I have a large CSV file, in alphabetical order, with hundreds (maybe thousands) of lines (for example, a catalog from a shoes shop). I need to import this file to Excel and every time the name of each manufacturer changes (the first column in CSV file), a new sheet must be created and the name "SheetX" (Sheet1, Sheet2, etc...) must be renamed with the name of the manufacturer. How can I do this using a VBA Macro ? Please, help me ! It's something like: - Read the first line; - Rename Sheet1 to manufacturer's name; - Fill the cells with all content from the manufacturer's name; - When read a new manufacturer's name: - Rename Sheet2 to manufacturer's name; - Fill the cells with all content from the manufacturer's name; - repeat until EOF. Please, help me ! Thanks a lot !! Demian. -- demianill ------------------------------------------------------------------------ demianill's Profile: http://www.excelforum.com/member.php...o&userid=25676 View this thread: http://www.excelforum.com/showthread...hreadid=544815 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create an "import-friendly" text-file from excel? | Excel Discussion (Misc queries) | |||
Create a single xls file with each import csv file having its own tab | Excel Discussion (Misc queries) | |||
Import Text File Into A Spreadsheet with over 65,000 lines | Excel Programming | |||
How do I import text file, analyze data, export results, open next file | Excel Programming | |||
can i create an excel xml map without having an import file? | Excel Programming |