PC Review


Reply
Thread Tools Rate Thread

HELP - I need to change space delimited to comma?

 
 
Mayer
Guest
Posts: n/a
 
      18th Dec 2004
Hi,

I have a CSV file that should be comma delimited the thing is that the
program that creates it, creates it in two columns (if you open it in excel)
I want to write (or pay for) a Marco that will pull the data, remove the
column (if it's a tab, space, comma. then it should read the file and place
a comma after x amount of characters. once that's done it should remove all
the space on the right, so

data, data , data,,, .data -- should look like
data,data,data,data.

I don't know how to do this. any help is appreciated.

Thanks


 
Reply With Quote
 
 
 
 
Earl Kiosterud
Guest
Posts: n/a
 
      18th Dec 2004
Mayer,

What you're describing in terms of the txt file doesn't seem to square well
with the idea that it's putting the data into two columns. It helps to open
it in NotePad to see exactly what's in the file so we know exactly what
we're dealing with, not what Excel does (and it does plenty) when it opens a
text file. Post back.

You can read up on Excel and text files at www.smokeylake.com/excel.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"Mayer" <(E-Mail Removed)> wrote in message
news:ujB$(E-Mail Removed)...
> Hi,
>
> I have a CSV file that should be comma delimited the thing is that the
> program that creates it, creates it in two columns (if you open it in
> excel)
> I want to write (or pay for) a Marco that will pull the data, remove the
> column (if it's a tab, space, comma. then it should read the file and
> place
> a comma after x amount of characters. once that's done it should remove
> all
> the space on the right, so
>
> data, data , data,,, .data -- should look like
> data,data,data,data.
>
> I don't know how to do this. any help is appreciated.
>
> Thanks
>
>



 
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
Serial comma delimited text - Import to XL evry 8th comma nuRow Billp Microsoft Excel Programming 30 24th Jun 2009 12:51 AM
Using comma inside the comma delimited text in Data Validation/Sou LasseH Microsoft Excel Programming 5 14th Dec 2007 05:09 AM
delimited, but Non-Comma Delimited file, for input. Ross.prillaman@HCAhealthcare.com Microsoft Access External Data 1 15th Aug 2005 06:55 PM
difference between comma delimited and tabbed delimited? Jones Microsoft Outlook Discussion 3 1st Jun 2005 09:23 AM
HELP - I need to change space delimited to comma? Mayer Microsoft Excel Misc 1 18th Dec 2004 07:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 AM.