PC Review


Reply
Thread Tools Rate Thread

Create delimited file

 
 
David_G
Guest
Posts: n/a
 
      9th Apr 2008
Hi Excellers

I have a text file which comes from a windows application (Not
Office). The file has headings across the top and headings down the
left hand side, although not exactly square - meaning some rows have 3
headings across and other rows have 5 headings across. The headings
and data are separated by spaces and there is a CRLF at the end of
each line to create each row. I have used FileSystemObject to read
the file but I am struggling to come up with a way of inserting commas
say, to delimit the file. I may need to make another post to convey
the total picture, but basically I want to create a comma (or Tab)
delimited file to parse the columns into Excel. Text to columns
doesn't work because with fixed width, some of the row headings are
longer than other headings. Delimited doesn't work because the file
is delimited by spaces and the row and column headings would end up
with commas between them (not wanted). Hopefully I have given a
reasonable picture of this situation. Basically I would like to get
some code to make a utility for the purpose of delimiting these
files. I am happy to supply any additional info if needed.
Much appreciated,
Thanks

David_G.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Tab delimited file with no quotes in Currency fields. AP Microsoft Excel Programming 0 5th May 2010 06:22 PM
Create a tab delimited text file shantanu Microsoft Dot NET Framework 2 15th Jun 2007 07:40 AM
Create a comma-delimited file to be opened in Excel Emily Microsoft Excel Programming 5 24th Aug 2006 12:14 PM
Create a form to open a comma delimited file =?Utf-8?B?flJpY2s=?= Microsoft Excel Misc 1 29th Sep 2005 08:25 PM
how do I create comma and double quote delimited file =?Utf-8?B?bWlrZWI=?= Microsoft Excel Misc 1 29th Nov 2004 10:01 PM


Features
 

Advertising
 

Newsgroups
 


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