Non Breaking Hyphen in 2003

M

Mike H

Hi,

Press & hold ALT then 0173 on the numeric key pad will insert a non-breaking
hyphen.

Mike
 
M

Mike H

You can try these additional non breaking characters

ALT 0160 space
ALT 0150 dash
ALT 0151 dash

Mike
 
D

Dave Peterson

I don't think so. If the cell is formatted to wraptext and you change the
columnwidth, you can make it break at any character.
 
M

Mike H

Did you try ALT 0173 ?

Dave Peterson said:
I don't think so. If the cell is formatted to wraptext and you change the
columnwidth, you can make it break at any character.
 
G

Gord Dibben

Jarek

I don't see the post to which you responded.

When replying to a post could you please leave the original post in your reply.


Gord
 
M

Mike H

Yep,

With a hyphen inserted using ALT 0173 you wont split a pair of hyphenated
words, when they wrap they will do so together and stay on the same line.
Using the keyboard hyphen they can split during wrap.

Mike
 
D

Dave Peterson

That's not what I saw in xl2003.

I put
asdf(alt-0173)qwer
in a cell
I formatted that cell to wraptext.

I could break the first line at each character in the whole string by adjusting
the columnwidth.

Mike said:
Yep,

With a hyphen inserted using ALT 0173 you wont split a pair of hyphenated
words, when they wrap they will do so together and stay on the same line.
Using the keyboard hyphen they can split during wrap.

Mike
 
M

Mike H

Dave,

Then I'm baffled, there is no way i can break your (or any other hyphenated)
string with line wrap enabled (including using any of the other non breaking
characters I posted earlier) either by adjusting column width or adding extra
strings at the start ot the string.

For good order
2003 (911.8211.8202) SP3

I've googled it and found a website
http://www.maysstuff.com/excel/new07.html
But have no idea who this guy is, he claims this is new in 2007 but I don't
have that and it works (Honest)

Perhaps someone else out there can explain

Mike
 
D

Dave Peterson

I'm guessing that 911.8211.8202 SP3 is a typo--11.8211.8202 SP3 is what I see
under Help|about MS Excel.

And I loaded up xl2007 and could do the same thing I could do in xl2003.

Just to make sure we're talking about the same look:

In my example, I'd see this in a cell.
asdf-qwer

I could make it look like:
asdf-qwe
r

asdf-qw
er

asdf-q
wer

asdf-
qwer

even:
asdf
-qw
er



Mike said:
Dave,

Then I'm baffled, there is no way i can break your (or any other hyphenated)
string with line wrap enabled (including using any of the other non breaking
characters I posted earlier) either by adjusting column width or adding extra
strings at the start ot the string.

For good order
2003 (911.8211.8202) SP3

I've googled it and found a website
http://www.maysstuff.com/excel/new07.html
But have no idea who this guy is, he claims this is new in 2007 but I don't
have that and it works (Honest)

Perhaps someone else out there can explain

Mike

Dave Peterson said:
That's not what I saw in xl2003.

I put
asdf(alt-0173)qwer
in a cell
I formatted that cell to wraptext.

I could break the first line at each character in the whole string by adjusting
the columnwidth.
 
M

Mike H

Dave that was a typo, our systems are the same.

Two near identical strings

A1= the quick brown fox jumped over the lazy-­dog
A2= the quick brown fox jumped over the lazy-­dog

A1 hyphen A0173
A2 standard heyboard hyphen

When column A is slowly narrowed on my system A1 gives a classic
demonstration of a non-breaking hyphen.

Mike

Dave Peterson said:
I'm guessing that 911.8211.8202 SP3 is a typo--11.8211.8202 SP3 is what I see
under Help|about MS Excel.

And I loaded up xl2007 and could do the same thing I could do in xl2003.

Just to make sure we're talking about the same look:

In my example, I'd see this in a cell.
asdf-qwer

I could make it look like:
asdf-qwe
r

asdf-qw
er

asdf-q
wer

asdf-
qwer

even:
asdf
-qw
er



Mike said:
Dave,

Then I'm baffled, there is no way i can break your (or any other hyphenated)
string with line wrap enabled (including using any of the other non breaking
characters I posted earlier) either by adjusting column width or adding extra
strings at the start ot the string.

For good order
2003 (911.8211.8202) SP3

I've googled it and found a website
http://www.maysstuff.com/excel/new07.html
But have no idea who this guy is, he claims this is new in 2007 but I don't
have that and it works (Honest)

Perhaps someone else out there can explain

Mike
 
D

Dave Peterson

Thanks.

I see it now. It seems to work ok until the column width is too narrow for
"lazy-dog".

Mike said:
Dave that was a typo, our systems are the same.

Two near identical strings

A1= the quick brown fox jumped over the lazy-­dog
A2= the quick brown fox jumped over the lazy-­dog

A1 hyphen A0173
A2 standard heyboard hyphen

When column A is slowly narrowed on my system A1 gives a classic
demonstration of a non-breaking hyphen.

Mike
 

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

Top