Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Laurel
 
Posts: n/a
Default Need to change text to csv

My credit card company has an export feature. One of the options is ".csv
(Excel). This used to give me a nice clean spreadsheet with each column of
information in a separate Excell column. I guess it converted on the fly or
something. But now it seems to be a "comma delimited text file" In other
words, only the first Excel cell in each row has data in it, and it looks
like this in each row (the first row has headings).
1,"03/24/2005","HARVARD CS","Credit","$39.95". What can I do to get all
those comma delimited items into separate cells?
I've tried contacting the Credit Card company to no avail. Is the fact that
the first item is not enclosed in quotes significant?

This is actually a repost, as I tried to pursue this when I first discovered
it with last month's statement, but didn't get answers that provided a
solution.


  #2   Report Post  
Lady Layla
 
Posts: n/a
Default

Laurel

Comma delimited Text file and .csv files are one and the same.

Find the file you downloaded, either change the extension to .csv or .txt if it
is neither.
If you cant, then once the information is in Excel, select the column of data,
and in your Tool bars -- Select Data, Text to columns, make sure the comma box
is checked and you will have neat columns again



"Laurel" wrote in message
...
: My credit card company has an export feature. One of the options is ".csv
: (Excel). This used to give me a nice clean spreadsheet with each column of
: information in a separate Excell column. I guess it converted on the fly or
: something. But now it seems to be a "comma delimited text file" In other
: words, only the first Excel cell in each row has data in it, and it looks
: like this in each row (the first row has headings).
: 1,"03/24/2005","HARVARD CS","Credit","$39.95". What can I do to get all
: those comma delimited items into separate cells?
: I've tried contacting the Credit Card company to no avail. Is the fact that
: the first item is not enclosed in quotes significant?
:
: This is actually a repost, as I tried to pursue this when I first discovered
: it with last month's statement, but didn't get answers that provided a
: solution.
:
:


  #3   Report Post  
Laurel
 
Posts: n/a
Default

Thank you!
The file did have a .csv extension, but it wasn't being honored, apparently.
However your "Text to columns" suggestion worked great.

"Lady Layla" wrote in message
...
Laurel

Comma delimited Text file and .csv files are one and the same.

Find the file you downloaded, either change the extension to .csv or .txt
if it
is neither.
If you cant, then once the information is in Excel, select the column of
data,
and in your Tool bars -- Select Data, Text to columns, make sure the comma
box
is checked and you will have neat columns agaian.



"Laurel" wrote in message
...
: My credit card company has an export feature. One of the options is
".csv
: (Excel). This used to give me a nice clean spreadsheet with each column
of
: information in a separate Excell column. I guess it converted on the
fly or
: something. But now it seems to be a "comma delimited text file" In
other
: words, only the first Excel cell in each row has data in it, and it
looks
: like this in each row (the first row has headings).
: 1,"03/24/2005","HARVARD CS","Credit","$39.95". What can I do to get
all
: those comma delimited items into separate cells?
: I've tried contacting the Credit Card company to no avail. Is the fact
that
: the first item is not enclosed in quotes significant?
:
: This is actually a repost, as I tried to pursue this when I first
discovered
: it with last month's statement, but didn't get answers that provided a
: solution.
:
:




  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

I made a small modification in the routine he

http://www.mcgimpsey.com/excel/textfiles.html

Try:

Public Sub OutputQuotedCSV()
Const QSTR As String = """"
Dim myRecord As Range
Dim myField As Range
Dim nFileNum As Long
Dim sOut As String

nFileNum = FreeFile
Open "File1.txt" For Output As #nFileNum
For Each myRecord In Range("A1:A" & _
Range("A" & Rows.Count).End(xlUp).Row)
With myRecord
sOut = .Cells(1).Value
For Each myField In Range(.Cells(1, 2), _
Cells(.Row, 256).End(xlToLeft))
sOut = sOut & "," & QSTR & _
Replace(myField.Text, QSTR, QSTR & QSTR) & QSTR
Next myField
Print #nFileNum, sOut
sOut = Empty
End With
Next myRecord
Close #nFileNum
End Sub


In article ,
"Laurel" wrote:

My credit card company has an export feature. One of the options is ".csv
(Excel). This used to give me a nice clean spreadsheet with each column of
information in a separate Excell column. I guess it converted on the fly or
something. But now it seems to be a "comma delimited text file" In other
words, only the first Excel cell in each row has data in it, and it looks
like this in each row (the first row has headings).
1,"03/24/2005","HARVARD CS","Credit","$39.95". What can I do to get all
those comma delimited items into separate cells?
I've tried contacting the Credit Card company to no avail. Is the fact that
the first item is not enclosed in quotes significant?

This is actually a repost, as I tried to pursue this when I first discovered
it with last month's statement, but didn't get answers that provided a
solution.

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
Excel should allow me to change text color & font within tabs. hw Excel Discussion (Misc queries) 1 February 17th 05 10:52 PM
Change column Number vrs Text an Excel Worksheet Functions 2 January 28th 05 12:22 PM
how do I change the text case of imported data in excel? ArtLene Excel Discussion (Misc queries) 1 January 26th 05 07:08 AM
change typed text to upper case CT Cameron Excel Discussion (Misc queries) 2 November 30th 04 01:07 AM
How to change text in multiple cells from Uppercase to proper cas. Excel help Excel Worksheet Functions 1 November 17th 04 03:45 AM


All times are GMT +1. The time now is 01:37 PM.

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"