View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default How can I remove extra space when using autofit in Excel 2003?

Check horizontal alignment
Right click--Format cells--Alignment

OR

If there are blank lines use this formula and try
=TRIM(SUBSTITUTE(A1,CHAR(10),""))

If this post helps click Yes
---------------
Jacob Skaria


"Doug Keith" wrote:

I have links set up in a spreadsheet, which pull text in from another sheet
in the workbook. The rows with the links are formatted to autofit the text.
When the text comes in, though, there is sometimes an extra line of space
above the text (e.g., if there are three lines of text, there is a blank line
above the text) instead of the text fitting perfectly within the cell. This
does not happen consistently, and it looks like all of the cells are
formatted the same way.

What settings could I use in combination with autofit to avoid this problem?
Or is it unavoidable, but there's a global fix (as opposed to manually
adjusting the height of each cell) I can use afterwards to correct it.

Thanks!