?
Solved

Formatting inside a cell in Excel

Posted on 2011-03-20
3
Medium Priority
?
261 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 2000 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 13

Expert Comment

by:Alan
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

765 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