Closed Thread
Results 1 to 13 of 13

How do I change the cell padding in excel?

  1. #1
    criticalpath
    Guest

    How do I change the cell padding in excel?

    I need to add white space to each row of a spreadsheet where height is
    auto-adjusted. A feixed row height will not work here. Please help!

  2. #2
    Gord Dibben
    Guest

    Re: How do I change the cell padding in excel?

    You want the whitespace at the top or bottom of the cells?

    To maintain Autofit and have whitespace you can add an ALT + ENTER ahead of or
    behind the text.

    Try this.

    Select a cell with autofit row.

    F2 to edit.

    Point to start of text and hit ALT + ENTER to add a blank line.

    Also make sure the cell is set to "Wrap Text"

    If you have a great whack to do, a macro could be provided.


    Gord Dibben Excel MVP


    On Thu, 22 Dec 2005 15:17:02 -0800, criticalpath
    <[email protected]> wrote:

    >I need to add white space to each row of a spreadsheet where height is
    >auto-adjusted. A feixed row height will not work here. Please help!


  3. #3
    Forum Contributor
    Join Date
    11-20-2005
    Posts
    256
    Hi Gord,
    Would you pease tell me what is a "great whack"?
    I'm not trying to be rude, i really don't know.
    thx
    Dave
    Quote Originally Posted by Gord Dibben
    You want the whitespace at the top or bottom of the cells?

    To maintain Autofit and have whitespace you can add an ALT + ENTER ahead of or
    behind the text.

    Try this.

    Select a cell with autofit row.

    F2 to edit.

    Point to start of text and hit ALT + ENTER to add a blank line.

    Also make sure the cell is set to "Wrap Text"

    If you have a great whack to do, a macro could be provided.


    Gord Dibben Excel MVP


    On Thu, 22 Dec 2005 15:17:02 -0800, criticalpath
    <[email protected]> wrote:

    >I need to add white space to each row of a spreadsheet where height is
    >auto-adjusted. A feixed row height will not work here. Please help!
    Thx
    Dave
    "The game is afoot Watson"

  4. #4
    Gord Dibben
    Guest

    Re: How do I change the cell padding in excel?

    A large number of cells to deal with is a "great whack".

    2 is a couple
    3-5 is a few
    6-9 is several
    10-15 is a bunch
    16 and over is a great whack

    Adding the line feed is a manual cell by cell operation and could take a
    while.

    A macro could add a line feed to all cells in a selection with the click of a
    button or shortcut key combo.


    Gord


    On Thu, 22 Dec 2005 21:20:10 -0600, Desert Piranha
    <[email protected]> wrote:

    >
    >Hi Gord,
    >Would you pease tell me what is a "great whack"?
    >I'm not trying to be rude, i really don't know.
    >thx
    >Dave
    >Gord Dibben Wrote:
    >> You want the whitespace at the top or bottom of the cells?
    >>
    >> To maintain Autofit and have whitespace you can add an ALT + ENTER
    >> ahead of or
    >> behind the text.
    >>
    >> Try this.
    >>
    >> Select a cell with autofit row.
    >>
    >> F2 to edit.
    >>
    >> Point to start of text and hit ALT + ENTER to add a blank line.
    >>
    >> Also make sure the cell is set to "Wrap Text"
    >>
    >> If you have a great whack to do, a macro could be provided.
    >>
    >>
    >> Gord Dibben Excel MVP
    >>
    >>
    >> On Thu, 22 Dec 2005 15:17:02 -0800, criticalpath
    >> <[email protected]> wrote:
    >>
    >> >I need to add white space to each row of a spreadsheet where height

    >> is
    >> >auto-adjusted. A feixed row height will not work here. Please help!


  5. #5
    Forum Contributor
    Join Date
    11-20-2005
    Posts
    256
    Hi Gord,
    Thx for the enlightenment on the "great whack". Very interesting.
    Thx again
    Dave
    Quote Originally Posted by Gord Dibben
    A large number of cells to deal with is a "great whack".

    2 is a couple
    3-5 is a few
    6-9 is several
    10-15 is a bunch
    16 and over is a great whack

    Adding the line feed is a manual cell by cell operation and could take a
    while.

    A macro could add a line feed to all cells in a selection with the click of a
    button or shortcut key combo.


    Gord


    On Thu, 22 Dec 2005 21:20:10 -0600, Desert Piranha
    <[email protected]> wrote:

    >
    >Hi Gord,
    >Would you pease tell me what is a "great whack"?
    >I'm not trying to be rude, i really don't know.
    >thx
    >Dave
    >Gord Dibben Wrote:
    >> You want the whitespace at the top or bottom of the cells?
    >>
    >> To maintain Autofit and have whitespace you can add an ALT + ENTER
    >> ahead of or
    >> behind the text.
    >>
    >> Try this.
    >>
    >> Select a cell with autofit row.
    >>
    >> F2 to edit.
    >>
    >> Point to start of text and hit ALT + ENTER to add a blank line.
    >>
    >> Also make sure the cell is set to "Wrap Text"
    >>
    >> If you have a great whack to do, a macro could be provided.
    >>
    >>
    >> Gord Dibben Excel MVP
    >>
    >>
    >> On Thu, 22 Dec 2005 15:17:02 -0800, criticalpath
    >> <[email protected]> wrote:
    >>
    >> >I need to add white space to each row of a spreadsheet where height

    >> is
    >> >auto-adjusted. A feixed row height will not work here. Please help!

  6. #6
    Registered User
    Join Date
    01-25-2006
    Location
    Rhode Island
    Posts
    2
    Is there are way to do this without adding a whole line? I just want my text to NOT sit right on the bottom border line of the cell. I don't want to add a whole line to do that.

    FWIW, my rows are going to be all different sizes. I want to be able to auto size them without having to edit cells or add lines. If you can "indent" cells from the left automatically in "cell formatting," can't you dictate how much space appears at the bottom?

    Also, I have a great whack to do!

    Thoughts, anyone?

  7. #7
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    If you just want them centred vertically

    Highlight rang of cells
    Right click
    Format>alignment>vertical>center

    Ed

  8. #8
    Registered User
    Join Date
    01-25-2006
    Location
    Rhode Island
    Posts
    2
    Thanks Ed, but I don't want them centered vertically. I want them to be aligned at the top, and I want the cells to automatically adjust for hight. I also want the lowest line of text to not be sitting *right on* the black line that separates the cells.

    FWIW, when I tried centering them vertically, the cells that have the most text wrpaped in them (and the most rows of text per cell) *still* had the lowest line of text sitting on the black line.

  9. #9
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi suzubeane,

    I've been out the office for a few days.

    I think you have a problem. I don't consider myself an expert but the problem you describe is one I have come across before where rows have varying amounts of text. The only way I know of getting the result you want is by manually adjusting in the row headers or setting the row height to the greatest size you expect - that may mean a lot of white space surrounding some entries.

    Alternatively, if you set the line height to an acceptable average, then you would only have to alter the exceptions.

    HTH

    Ed

  10. #10
    Registered User
    Join Date
    09-16-2011
    Location
    Evansville, Indiana
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: How do I change the cell padding in excel?

    Can you post a macro to add a blank row at the top and bottom of a cell?

    Cell is set to wrap text and auto height.

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How do I change the cell padding in excel?

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then start your own thread.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  12. #12
    Registered User
    Join Date
    10-07-2011
    Location
    Maui
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: How do I change the cell padding in excel?

    I completely understand your problem; it can be succinctly described as needing the capability that "cellpadding" affords in HTML.

    I, too, wish I knew how to do this in Excel. It seems like such a straightforward (and commonly-needed) problem, but... "???"

    I look forward to hearing from someone who can provide a solution to this.

    Aloha,
    pt

  13. #13
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: How do I change the cell padding in excel?

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

Closed Thread

Thread Information

Users Browsing this Thread

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

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