ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Character Set 032 vs 160 (https://www.excelbanter.com/excel-programming/330127-character-set-032-vs-160-a.html)

snax500[_2_]

Character Set 032 vs 160
 
What is the difference between Character Set 032 and 160. In Excel Help
they both say "[space]". Why 2 codes for space?

Thanks


david mcritchie

Character Set 032 vs 160
 
Hi ......,
In Rich Text Format, the 160 would be called a Required Blank,
in HTML it is called a non-breaking space ( ). The difference
is that a line should not be broken on non-breaking space.

If you have non-breaking spaces after copying from HTML and want
to remove them from cells and then trim the cells see TRIMALL macro in
http://www.mvps.org/dmcritchie/excel/join.htm#trimall

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"snax500" wrote in message oups.com...
What is the difference between Character Set 032 and 160. In Excel Help
they both say "[space]". Why 2 codes for space?

Thanks





All times are GMT +1. The time now is 09:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com