Solved

Formatting inside a cell in Excel

Posted on 2011-03-20
3
259 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
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.

696 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