Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Wrap a custom number format

I want to display a date in a cell formatted "ddd d mmm", but I want the
resulting test to wrap onto 2 lines. It's refusing to do so. Any ideas?
Thanks
Rob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Wrap a custom number format

You can do it, but it won't behave very nicely.

I'm gonna assume that you want the break between the ddd and d.

Format|cells|Number tab
Custom format
dddXd mmm
But instead of typing the X, hit ctrl-j
(ctrl-j is the same as alt-enter)

Now to the Alignment tab
make sure that Wrap text is checked

Then back to excel.

You'll have to make the rowheight deeper -- it won't react to autofitting.

And if you squeeze the column width too much, you'll see #####.

And those are based on the width of the text--not including wrap text!

Not quite the same, huh?

Rob wrote:

I want to display a date in a cell formatted "ddd d mmm", but I want the
resulting test to wrap onto 2 lines. It's refusing to do so. Any ideas?
Thanks
Rob


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Wrap a custom number format

very nice - a useful tip.
--
Gary''s Student
gsnu200712

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get date/time to wrap (format - wrap text doesn't work)? Alex Excel Discussion (Misc queries) 3 April 4th 23 02:29 PM
convert number to % using only custom number format challenge Brotherharry Excel Discussion (Misc queries) 7 June 2nd 09 06:29 PM
Custom number format for driver's license number excel user Excel Discussion (Misc queries) 10 July 16th 08 10:05 PM
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
Format a cell with a custom number format Armor Excel Worksheet Functions 4 January 29th 06 11:25 PM


All times are GMT +1. The time now is 06:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"