When I attempt to convert a .txt file, while in MS Excel, boxes are displayed, opposed to commas. Any clue as to what is causing this phenomenon? Thank you in advance, Srewolf

Hi Larry,

I didn’t explain what I did in my eagerness to get the (hopefully) answer to
you.

I took a tab-delimited file (test.txt) and changed the extension (test.csv) and
it open up and got the squares between fields.

If this didn’t work.

If you opened the text file in Notepad and saw the little Squares.
When you import the file and get the “import database wizard” try changing the
“File Origin” which can affect how the different characters are displayed on
your system. Could be that I suppose.

Bill Buker
VBA Developer

From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 3:57 PM
To: JustPlainBill
Subject: RE:[excel-l] Converting .txt to .csv files

Hi Bill,
Thanks for the response!
I see the Wizard but when I select Comma Delimited, nothing happens.
Actually, instead of commas, the are little boxes that were probably
generated during the .txt to .csv conversion. I’ve seen where the Tab
key translates to these boxes…

Cordially,
Larry L Flowers System Support Analyst
Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com


From: JustPlainBill via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 12:49 PM
To: Larry Flowers
Subject: RE: [excel-l] Converting .txt to .csv files
Hi Larry,
So you navigate to your text file, select it, then click ‘Open’.
Do you see the text file import wizard after that?
If so, click ‘Next’ and try different delimiters.
I was able to duplicate your issue when I chose ‘comma’ as the delimiter
on a
tab-separated file.
Open your text file in notepad and make sure it is comma separated.
Bill Buker
VBA Developer
From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 3:23 PM
To: JustPlainBill
Subject: RE:[excel-l] Converting .txt to .csv files
I am opening Excel, then File/Open, then browse to my text doc.
Where in Excel is the ‘Clean’ feature?
Cordially,
Larry L Flowers System Support Analyst
Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com


From: JustPlainBill via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 12:06 PM
To: Larry Flowers
Subject: RE:[excel-l] Converting .txt to .csv files
Larry,
How are you doing the conversion? “Save As”? “Data > Import”? Some other
method?
Are you doing it manually or with VBA?
Additionally, is your data clean? You can use the CLEAN(cell Reference)
function
to remove all non-printing characters in a worksheet.
Bill Buker
VBA Developer
From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:19 PM
To: JustPlainBill
Subject: [excel-l] Converting .txt to .csv files
When I attempt to convert a .txt file, while in MS Excel, boxes are
displayed,
opposed to commas.
Any clue as to what is causing this phenomenon?
Thank you in advance,
Srewolf

Hi Larry,

OK, I was just able to recreate your issue.

Convert to “.txt” file extension to “.csv” and try again.

Bill Buker
VBA Developer

From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 3:57 PM
To: JustPlainBill
Subject: RE:[excel-l] Converting .txt to .csv files

Hi Bill,
Thanks for the response!
I see the Wizard but when I select Comma Delimited, nothing happens.
Actually, instead of commas, the are little boxes that were probably
generated during the .txt to .csv conversion. I’ve seen where the Tab
key translates to these boxes…

Cordially,
Larry L Flowers System Support Analyst
Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com


From: JustPlainBill via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 12:49 PM
To: Larry Flowers
Subject: RE: [excel-l] Converting .txt to .csv files
Hi Larry,
So you navigate to your text file, select it, then click ‘Open’.
Do you see the text file import wizard after that?
If so, click ‘Next’ and try different delimiters.
I was able to duplicate your issue when I chose ‘comma’ as the delimiter
on a
tab-separated file.
Open your text file in notepad and make sure it is comma separated.
Bill Buker
VBA Developer
From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 3:23 PM
To: JustPlainBill
Subject: RE:[excel-l] Converting .txt to .csv files
I am opening Excel, then File/Open, then browse to my text doc.
Where in Excel is the ‘Clean’ feature?
Cordially,
Larry L Flowers System Support Analyst
Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com


From: JustPlainBill via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 12:06 PM
To: Larry Flowers
Subject: RE:[excel-l] Converting .txt to .csv files
Larry,
How are you doing the conversion? “Save As”? “Data > Import”? Some other
method?
Are you doing it manually or with VBA?
Additionally, is your data clean? You can use the CLEAN(cell Reference)
function
to remove all non-printing characters in a worksheet.
Bill Buker
VBA Developer
From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:19 PM
To: JustPlainBill
Subject: [excel-l] Converting .txt to .csv files
When I attempt to convert a .txt file, while in MS Excel, boxes are
displayed,
opposed to commas.
Any clue as to what is causing this phenomenon?
Thank you in advance,
Srewolf

Hi Bill,

Thanks for the response!

I see the Wizard but when I select Comma Delimited, nothing happens.

Actually, instead of commas, the are little boxes that were probably
generated during the .txt to .csv conversion. I’ve seen where the Tab
key translates to these boxes…

Cordially,

Larry L Flowers System Support Analyst

Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com

Hi Larry,

So you navigate to your text file, select it, then click ‘Open’.

Do you see the text file import wizard after that?

If so, click ‘Next’ and try different delimiters.

I was able to duplicate your issue when I chose ‘comma’ as the delimiter on a
tab-separated file.

Open your text file in notepad and make sure it is comma separated.

Bill Buker

VBA Developer

From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 3:23 PM
To: JustPlainBill
Subject: RE:[excel-l] Converting .txt to .csv files

I am opening Excel, then File/Open, then browse to my text doc.
Where in Excel is the ‘Clean’ feature?

Cordially,
Larry L Flowers System Support Analyst
Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com


From: JustPlainBill via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 12:06 PM
To: Larry Flowers
Subject: RE:[excel-l] Converting .txt to .csv files
Larry,
How are you doing the conversion? “Save As”? “Data > Import”? Some other
method?
Are you doing it manually or with VBA?
Additionally, is your data clean? You can use the CLEAN(cell Reference)
function
to remove all non-printing characters in a worksheet.
Bill Buker
VBA Developer
From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:19 PM
To: JustPlainBill
Subject: [excel-l] Converting .txt to .csv files
When I attempt to convert a .txt file, while in MS Excel, boxes are
displayed,
opposed to commas.
Any clue as to what is causing this phenomenon?
Thank you in advance,
Srewolf

Hello Michael,

The .csv file was created by one our customers who was attempting to
save time by not having to enter each employee’s information into our
program.

She said that she just opened Excel and commenced entering her employee
data.

I’m not sure which Excel version she used but I’m on version 2003.

Do you know of a way that she should have done it?

Thank you for your response!!

Cordially,

Larry L Flowers System Support Analyst

Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com

Is the ‘Text Import Wizard’ a feature of Excel?

Cordially,

Larry L Flowers System Support Analyst

Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com

-----Original Message-----
From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]

When I attempt to convert a .txt file, while in MS Excel,
boxes are displayed, opposed to commas.
Larry,
What version of Excel are you using and what tools, if any, are you
using to create the CSV file?
Michael

The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.

I am opening Excel, then File/Open, then browse to my text doc.

Where in Excel is the ‘Clean’ feature?

Cordially,

Larry L Flowers System Support Analyst

Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com

Larry,

How are you doing the conversion? “Save As”? “Data > Import”? Some other method?
Are you doing it manually or with VBA?

Additionally, is your data clean? You can use the CLEAN(cell Reference) function
to remove all non-printing characters in a worksheet.

Bill Buker
VBA Developer

From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:19 PM
To: JustPlainBill
Subject: [excel-l] Converting .txt to .csv files

When I attempt to convert a .txt file, while in MS Excel, boxes are displayed,
opposed to commas.
Any clue as to what is causing this phenomenon?
Thank you in advance,
Srewolf

If you are using the built-in 'Text Import Wizard", try selecting different delimiters in ‘Step 2’.

Is that ‘schema.ini’ file a Windows file? I just searched on *.ini and
it returned no results…

Cordially,

Larry L Flowers System Support Analyst

Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com

Just search the hard drive of your machine for *.ini and it should return
the results for you


From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:50 PM
To: matthew smith
Subject: RE: [excel-l] Converting .txt to .csv files

I did a search for that file, to no avail. Any other suggestions?

Cordially,
Larry L Flowers System Support Analyst
Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com


From: matthew smith via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 11:36 AM
To: Larry Flowers
Subject: RE: [excel-l] Converting .txt to .csv files

Sounds like you need to alter the schema.ini file located within that
directory to have represent CSV delimited text files


From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:19 PM
To: matthew smith
Subject: [excel-l] Converting .txt to .csv files
When I attempt to convert a .txt file, while in MS Excel, boxes are
displayed, opposed to commas.
Any clue as to what is causing this phenomenon?
Thank you in advance,
Srewolf

I did a search for that file, to no avail. Any other suggestions?

Cordially,

Larry L Flowers System Support Analyst

Tel:800.727.1133 x1309 direct
707.338.6102 mobile
707.762.0802 fax
lflowers@vurv.com

Your text file contains non-printing characters. For example, your data may be seperated by tabs.
Your text editor will display a tab as a series of blank spaces. It all breaks down to binary at some point. For example, capitol ‘A’ is 01000001 in binary, TAB is 00001001. When Excel translates a non-printing binary such as TAB to ASCII, it displays it as a little box.

Sounds like you need to alter the schema.ini file located within that
directory to have represent CSV delimited text files


From: Larry Flowers via excel-l [mailto:excel-l@Groups.ITtoolbox.com]
Sent: Thursday, June 12, 2008 2:19 PM
To: matthew smith
Subject: [excel-l] Converting .txt to .csv files

When I attempt to convert a .txt file, while in MS Excel, boxes are
displayed, opposed to commas.
Any clue as to what is causing this phenomenon?
Thank you in advance,
Srewolf