+ Reply to Thread
Results 1 to 5 of 5

remove unwanted line padding in cells while showing all the text

  1. #1
    Registered User
    Join Date
    10-21-2014
    Location
    Midwest
    MS-Off Ver
    2000
    Posts
    12

    remove unwanted line padding in cells while showing all the text

    This came up before and I believe there were several approaches. This is for a simple 3-column time sheet for itemizing date, services, and billable time. 3 columns: date (about 10 wide), details (about 80 wide) and # of hours (about 10 wide). The "details" columns are the problem. In some cells, there is an extra line of spacing before and/or after the text. It looks like cell padding. And in some cells one or more of the bottom lines do not appear. Adjusting word wrap, row auto fit, column auto fit, alignment, and "number" (general, text) characteristics sends you in circles--the text in some cells will appear correct, but then in other cells there will be extra line spacing and in others the text does not all appear. Sometimes it seems the problem is also related to the printer, but changing printers does not make the problem disappear. Some problem cells show the extra line spacing while in Normal mode, while other cells appear OK but then show the extra spacing only in print preview.

    Some discussions posit that this happens when you paste text from other programs. OK. But I also have this where I am making original entries in each cell. Some discussions target number of lines in the cell, but I have some cells with 2 lines of text and no line spacing before, while other 2-line cells are nice and tight.

    Adjusting margins seems to create tighter middle column cells sometimes.

    All help greatly appreciated.

    p.s. I am using, and prefer, excel 2000 (Yes, 2000)
    Last edited by GaryMN; 07-18-2017 at 08:44 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: remove unwanted line padding in cells while showing all the text

    maybe it will help:
    1. Select the range that you want to remove multiple line breaks.
    2. Click Home > Find & Replace > Replace or click Ctrl + F shortcuts, and a Find and Replace dialog box will pop out.
    3. Then in the Find what box, please hold down the ALT key, and then click numbers 010 from the numeric keyboard*. Leave the Replace with box blank or enter a space bar.
    4. And then click Replace All button, all of the line breaks will be removed

    or if you've problem with numeric keyboard
    3. *On the keyboard, press Ctrl + J to enter the line break character — NOTE: Nothing will appear in the Find What box


    If that takes care of your original question, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you) then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED. Thanks.
    Last edited by sandy666; 07-18-2017 at 09:05 PM.

  3. #3
    Registered User
    Join Date
    10-21-2014
    Location
    Midwest
    MS-Off Ver
    2000
    Posts
    12

    Re: remove unwanted line padding in cells while showing all the text

    You can create a tighter text layout in the cell by narrowing the column width, but then you are left with a column width that is not necessarily what you want. See before and after image. I am looking for a way to control the column width and still have the text fill the cell without space at the top. The spacing is highlighted in green.
    Before & After.png

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: remove unwanted line padding in cells while showing all the text

    select all cells with text then select align to top. I don't remeber you will have this option in Ex2k (but probably - yes)

    if you will attach exaple file I can say more but now all is like: maybe this, maybe that, maybe, maybe....

  5. #5
    Registered User
    Join Date
    05-20-2021
    Location
    Norman, OK
    MS-Off Ver
    2010
    Posts
    3

    Re: remove unwanted line padding in cells while showing all the text

    Friends from the past!! I have been having the same problem (and that's why I found your thread), and found a workaround!

    Problem: If you decrease row height to be the exact same height as your text, some of the text, either at the top or at the bottom, gets cut off in the white space that are built into the inside margins of the cells (i.e., text gets cut off before it reaches the theoretical border of the cells, resulting in white space between rows of text).

    Solution: FOR SOME REASON, at least for Excel 2010 which I'm using, cells that have been subjected to Merge&Center will NOT have the text cut off; instead you will have text that goes all the way to the top and bottom border of the cells (at least when saved as PDF).

    I don't know why this is the case, but I'm going to exploit this phenomenon to make super-tight lines for my insect labels. In the attached file, the label on the left is made with Merged-Centered cells, and the one on the right isn't.

    I'm not sure that this is what everyone on this thread is looking for, but for me, it certainly is a good enough workaround.

    Cheers!

    Zemal8
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Unwanted line between text boxes
    By RookA1 in forum Word Formatting & General
    Replies: 2
    Last Post: 06-22-2017, 10:22 AM
  2. want to remove unwanted text from my sheet
    By notbanme in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-24-2016, 01:52 AM
  3. Replies: 7
    Last Post: 05-15-2015, 11:57 AM
  4. [SOLVED] Remove unwanted text/ numbers from name
    By MATU70 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 05-13-2014, 02:31 PM
  5. Remove unwanted cells
    By C-Shore in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2011, 12:04 PM
  6. Excel 2007 : Remove Unwanted Text from Cells
    By rickygzz in forum Excel General
    Replies: 6
    Last Post: 08-01-2011, 10:28 PM
  7. Replies: 1
    Last Post: 10-14-2005, 10:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1