Re: Square-box character in data import
From: Chris O (c.nospamo_at_aol.com)
Date: 02/18/04
- Next message: Ron de Bruin: "Re: How do I reset the last cell?"
- Previous message: Dennis: "Putting answer in different cell"
- In reply to: Mark: "Square-box character in data import"
- Next in thread: Mark: "Re: Square-box character in data import"
- Reply: Mark: "Re: Square-box character in data import"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 15:16:47 +0000 (UTC)
There is probably a much more elegant way than the following, but it worked
for me -
In an empty cell type some text, hit ALT + Enter and then some more text,
then hit Enter. You should get 2 lines of text in the cell. Paste the format
of this cell to the cell with your square box char - or to the column with
all your square box chars. The square box(es) should then disappear and
multiple lines will display.
Chris O.
_______________________________________________________________________-
"Mark" <jklot@hotmail.com> wrote in message
news:OYldKwi9DHA.3348@TK2MSFTNGP09.phx.gbl...
> Hi, I've got a puzzling one. When importing a data file into Excel I see a
> square-box character at the end of each line. I've tried copying/cutting
one
> of these characters to paste into the search/replace dialog, but nothing
> pastes and so I can't get rid of it. What do I do? I've got 9000 records,
> each with a multi-line entry for a mailing address in Column C and each of
> those lines (apart from the last for each record's mailing address) has
this
> unwanted character. It's obviously the CrLf character created when I press
> the keyboard's Enter key...
>
> The original file was created in my database and exported in ASCII
> tab-delimited format. I did a right-click Open with Microsoft Excel to get
> the file into Excel with the data in the correct columns. (Doing an Excel
> File Open command and stepping through the data import wizard left each
> element of the mailing address on a separate line as though it were a new
> record, with first line of mailing address in Column C and subsequent ones
> in Column A - even worse than having the square-box character!)
>
> FYI, I've tried exporting the file from the db in ASCII CSV, DIF and dBase
> formats, always with the square-box character appearing. Only when I saved
> the data out of the database as HTML was I able to get it into Excel
without
> the square-box character, but then again I had each element of the mailing
> address on a separate line of the worksheet...
>
> Finally, just to be sure it wasn't my database, I created a simple text
file
> in Notepad and right-click Open with Microsoft Excel - and got the square
> box character!!
>
> I'm using Excel 2002 SP-2. Thanks for your help.
>
>
- Next message: Ron de Bruin: "Re: How do I reset the last cell?"
- Previous message: Dennis: "Putting answer in different cell"
- In reply to: Mark: "Square-box character in data import"
- Next in thread: Mark: "Re: Square-box character in data import"
- Reply: Mark: "Re: Square-box character in data import"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|