Character codes

  • Thread starter Thread starter Mikey May
  • Start date Start date
M

Mikey May

I have exported a report with various fields as a V5 excel
document. My problem is that in one of the fields the
text contains a small box where a space should be and/or a
box at the end of the text.

I could do an Edit, Replace if I know what needs replacing.

Any ideas on how I could replace these with spaces or
ideally insert a column break if opening as a .txt or .csv?

Cheers
 
Mmmmmmm...... Char(12) doesn't seem to work

-----Original Message-----
Hi Mikey

Try
=SUBSTITUTE(A1,CHAR(12)," ")

--
Regards
Roger Govier



.
 
Hi Mikey

To find what the value for Char() that you should be using, try
=CODE(MID(A1,n,1)) where n represents the position of the square box within
your data.
Then use this value in the previous formula I gave.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top