ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Suppress display of Print Control Characters (https://www.excelbanter.com/excel-programming/413311-suppress-display-print-control-characters.html)

AussieDave

Suppress display of Print Control Characters
 
I'm using Chr(10) to split lines within a single cell and these are
displaying as a small box. How do I suppress this display but keep
the separate lines within the cell? Thanks in advance, Dave.

Peter T

Suppress display of Print Control Characters
 
Normally a single Chr(10) or vbLf is just what you do want. My guess is
that square is more likely due to a Chr(13) or vbCr.

Regards,
Peter T


"AussieDave" wrote in message
...
I'm using Chr(10) to split lines within a single cell and these are
displaying as a small box. How do I suppress this display but keep
the separate lines within the cell? Thanks in advance, Dave.




Gord Dibben

Suppress display of Print Control Characters
 
Set the cell to wrap text.


Gord Dibben MS Excel MVP

On Sun, 29 Jun 2008 20:26:50 -0700 (PDT), AussieDave
wrote:

I'm using Chr(10) to split lines within a single cell and these are
displaying as a small box. How do I suppress this display but keep
the separate lines within the cell? Thanks in advance, Dave.




All times are GMT +1. The time now is 10:15 AM.

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