Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How can I import a csv file with over 256 columns into Excel?

Hi

I have several large csv files (semi colon separated) with over 256
columns of data that I need to convert to xls files. I can manually
import 256 columns into a worksheet, then block those columns and
import the next 256 into a new worksheet, but as some of the csv files
have 750+ columns, is there a programmatical solution though that is
easier (and quicker)? I deal with these files weekly so any help
gratefully accepted!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default How can I import a csv file with over 256 columns into Excel?

Wait for Excel 2007?
--
David Biddulph

wrote in message
ups.com...
Hi

I have several large csv files (semi colon separated) with over 256
columns of data that I need to convert to xls files. I can manually
import 256 columns into a worksheet, then block those columns and
import the next 256 into a new worksheet, but as some of the csv files
have 750+ columns, is there a programmatical solution though that is
easier (and quicker)? I deal with these files weekly so any help
gratefully accepted!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default How can I import a csv file with over 256 columns into Excel?

Well, help is not totally dependent on Excel 2007 showing up on the shelves
<g.

Try this file:
http://www.jlathamsite.com/Uploads/I...umnsOfData.xls
that was put together with your requirements in mind. The only thing I can
think of that may break it is if you have fields that contain the semi-colon
character within them, like
1;5;Hello;6;"with a semi-colon; in it";more;last
All semi-colons are treated as field separators, so that one field would be
split into two columns, as would any others similar to it.

The workbook automatically adds enough sheets to accept the data, and will
overwrite any existing data if you reuse it -- best to either delete old used
sheets or to clear them of existing data before beginning processing.

Thanks to Chip Pearson, there's even a 'sort worksheets' routine included so
that the newly added sheets will be in the proper order to view left-to-right
to see the columns of data in the proper sequence.

Hope this makes life a little easier for you.

" wrote:

Hi

I have several large csv files (semi colon separated) with over 256
columns of data that I need to convert to xls files. I can manually
import 256 columns into a worksheet, then block those columns and
import the next 256 into a new worksheet, but as some of the csv files
have 750+ columns, is there a programmatical solution though that is
easier (and quicker)? I deal with these files weekly so any help
gratefully accepted!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How can I import a csv file with over 256 columns into Excel?

DUDE!! YOU ROCK!!

thanks so much for this! Works a treat

JLatham (removethis) wrote:
Well, help is not totally dependent on Excel 2007 showing up on the shelves
<g.

Try this file:
http://www.jlathamsite.com/Uploads/I...umnsOfData.xls
that was put together with your requirements in mind. The only thing I can
think of that may break it is if you have fields that contain the semi-colon
character within them, like
1;5;Hello;6;"with a semi-colon; in it";more;last
All semi-colons are treated as field separators, so that one field would be
split into two columns, as would any others similar to it.

The workbook automatically adds enough sheets to accept the data, and will
overwrite any existing data if you reuse it -- best to either delete old used
sheets or to clear them of existing data before beginning processing.

Thanks to Chip Pearson, there's even a 'sort worksheets' routine included so
that the newly added sheets will be in the proper order to view left-to-right
to see the columns of data in the proper sequence.

Hope this makes life a little easier for you.

" wrote:

Hi

I have several large csv files (semi colon separated) with over 256
columns of data that I need to convert to xls files. I can manually
import 256 columns into a worksheet, then block those columns and
import the next 256 into a new worksheet, but as some of the csv files
have 750+ columns, is there a programmatical solution though that is
easier (and quicker)? I deal with these files weekly so any help
gratefully accepted!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retaining formats grok Excel Discussion (Misc queries) 11 October 31st 06 07:29 PM
how to import more than 1 text file into the same Excel worksheet. SinnetBS Excel Discussion (Misc queries) 1 June 14th 06 03:14 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Import Excel Data from another workbook or file tamato43 Excel Discussion (Misc queries) 1 February 28th 05 05:26 PM
I have a Comma delimited text file how do I import in to excel an. trevord Excel Discussion (Misc queries) 1 February 3rd 05 11:41 PM


All times are GMT +1. The time now is 06:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"