LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default "Text to Column" - exceeding maximum number of columns possible

Hi Pauline,

In other words, if a row contains data that will spread across 356

columns,
when I parse it, first 256 columns will be in sheet 1 and the rest

156 will
be in sheet 2.


No build in function of excel will help you here. Read the file with a
macro.

Look in VBA-Help for "Input #", this will fill 356 variables for you,
you write them then in sheet1 and sheet2 as you like. Maybe this works
for you, I am not sure. Field delimiters could be a problem if it is
not a comma ",".

Otherwise use "Line Input" and parse through the text and search for
the field delimiter on your own.

arno


 
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
Help displaying "Maximum" or "Minimum" if cell is max or min in a group? RussAllison Excel Discussion (Misc queries) 1 February 24th 11 02:22 AM
how i convert "100" to "hundred"( number to text) in excel-2007 mohanraj Excel Worksheet Functions 1 May 11th 08 09:07 PM
return maximum text "value" Marcel Excel Worksheet Functions 1 March 21st 08 03:24 PM
how to converts a number to text eg. "2" become "two" CQ New Users to Excel 3 February 18th 06 08:25 PM
how to converts a number to text eg. "2" become "two" CQ New Users to Excel 1 February 17th 06 04:10 AM


All times are GMT +1. The time now is 09:51 AM.

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

About Us

"It's about Microsoft Excel"