Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Carriage Return in Custom Format

I have used the custom format to portray a date as Monday, 24 April 2007 in a
cell by using dddd, dd mmmm, yyyy
But what I want is for Monday to be on the first line by itself and 14 April
2007 to be on a second line. In other words, is there some way to enter ALT
ENTER after Monday in a custom format?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Carriage Return in Custom Format

Select your range
Format|Cells|Number Tab|Custom Category
dddd,$dd mmmm, yyyy
But don't type the $. Instead, hit ctrl-j

Then to the Alignment tab.
Click the Shrink to fit box (do this first)
then click the Wraptext box (do this second)

You'll have to adjust the rowheight manually. And maybe the columnwidth, too.

I'd center the text, too. It looks nicer (I think).

Sam wrote:

I have used the custom format to portray a date as Monday, 24 April 2007 in a
cell by using dddd, dd mmmm, yyyy
But what I want is for Monday to be on the first line by itself and 14 April
2007 to be on a second line. In other words, is there some way to enter ALT
ENTER after Monday in a custom format?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Carriage Return in Custom Format

Thanks Dave - this worked!

"Dave Peterson" wrote:

Select your range
Format|Cells|Number Tab|Custom Category
dddd,$dd mmmm, yyyy
But don't type the $. Instead, hit ctrl-j

Then to the Alignment tab.
Click the Shrink to fit box (do this first)
then click the Wraptext box (do this second)

You'll have to adjust the rowheight manually. And maybe the columnwidth, too.

I'd center the text, too. It looks nicer (I think).

Sam wrote:

I have used the custom format to portray a date as Monday, 24 April 2007 in a
cell by using dddd, dd mmmm, yyyy
But what I want is for Monday to be on the first line by itself and 14 April
2007 to be on a second line. In other words, is there some way to enter ALT
ENTER after Monday in a custom format?


--

Dave Peterson

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
Carriage return within a cell Jon Excel Discussion (Misc queries) 3 August 7th 07 06:56 AM
Carriage Return Freddo Excel Worksheet Functions 2 March 22nd 07 10:34 AM
Squares for carriage return Helena Excel Worksheet Functions 3 July 6th 05 09:21 PM
automatic carriage return Tbledsoe Excel Worksheet Functions 3 December 2nd 04 09:34 PM
Carriage return in macros Manu Palao Excel Worksheet Functions 1 November 15th 04 01:57 PM


All times are GMT +1. The time now is 07:37 AM.

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

About Us

"It's about Microsoft Excel"