Solved

Formatting inside a cell in Excel

Posted on 2011-03-20
3
260 Views
Last Modified: 2012-06-22
Hello,

In Excel (2007), is there a way to change the formatting inside a cell?

For example, suppose your default font is Calibri, 11 and for Wrapping Text, you want the lines of text inside the cell to be closer to each other without changing fonts or the 11 pt. size.  How can that be accomplished?

Being on the Excel forum means you are likely familiar with this box from Word (2007), which is where these types of changes are made there:  
 1I'm looking for a place to make the same type of changes in Excel.

If no settings box is available, is it possible to accomplish the same thing with some type of code.

Thanks
0
Comment
Question by:Steve_Brady
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 35177929
Hello Steve,

as far as I'm aware this kind of formatting is not available for text inside a cell, not natively and not with code.

cheers, teylyn
0
 
LVL 12

Expert Comment

by:Alan3285
ID: 35177980
Hi Steve,

The default 'gap' between lines in Excel is, effectively, zero.  Therefore, you can't get the lines of text within a single (wrapped) cell, any closer together (for a given font size).

Obviously you can reduce the font, but that is not what you are after?

You can make the gap smaller if there is a gap.

In the attached example, all the names are 10pt Ariel.  The gap between 'Alan' and 'Steve' is a 7.5 Ariel carriage-return / line-feed, and the gap between 'Steve' and 'Bob' is a 10pt carriage-return / line-feed.

(I'm not sure if carriage-return or line-feed is the right terminology, but you'll get my drift!)

Does that help?

Alan.
InCellFormatting---Version-001.xls
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 35178465
Not For Points.

Teylyn is absolutely correct

See this article by Microsoft.

http://office.microsoft.com/en-us/excel-help/change-line-spacing-in-excel-HA001034624.aspx

Hope this helps.

Sid
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question