+ Reply to Thread
Results 1 to 13 of 13

Add space between rows?

  1. #1
    Registered User
    Join Date
    01-23-2007
    Posts
    8

    Add space between rows?

    When presenting spreadsheets to suppliers for markup and corrections it would be helpful to have space for them to write or make handwritten notation between rows on the printout. I've tried using alternate rows in Excel, but after a sort, Excel groups them all together again.

    Is there a convention for adding space between rows?


    TIA,


    Ken
    Excel 2004 for Mac
    v 11.3.3

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    One simple solution is just to increase the row height. First, select the range which you would like to increase the size. Next, on the menu, select Format > Row > Height, and increase to the size you need.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Do your sort then when ready to send select the range you wish to insert rows and run this macro

    The link below shows where to put the code

    Press Alt + F8 and select InsertAltRows to run

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    01-23-2007
    Posts
    8
    You guys are the best.

    I'm not familiar with adding a script, but it sounds like it's time I learned.

    I'll give it a shot.

    Also, being able to set row height is also a solution that will keep it looking right all the time.

    Thanks for the quick responses also,



    Ken

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Thx for the feedback

    Hope it helps.

    VBA Noob

  6. #6
    Registered User
    Join Date
    01-23-2007
    Posts
    8

    Script

    This could turn into a 'how to run scripts' thread and I don't want to pirate my own thread, but I've checked the links to the help and found with option F-11 I get a couple of windows and in one I can double click on sheet one and get a blank window where I pasted the code and renamed it to InsertAltRows.

    Now, I select the rows I want acted upon and just need to know how to activate that code.

  7. #7
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Close the VB Editor and then Press Alt + F8 and select the macro named InsertAltRows to run the code

    Where to add code
    http://www.mcgimpsey.com/excel/modules.html

    Getting Started with Macros
    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    VBA Noob

  8. #8
    Registered User
    Join Date
    01-23-2007
    Posts
    8

    Code

    This is enough for me to concentrate on for one day, and to practice for days to come.

    Thanks so much for opening my eyes up to an area I've never used in Excel before. I can see that this is a way of accomplishing many things in Excel.



    Ken

  9. #9
    Registered User
    Join Date
    01-25-2007
    Location
    Stateline, NV USA
    Posts
    1

    Re: Possible to add space between rows?

    I know this is an old thread, but today I found it while searching on this problem (so I am posting/sharing my solution) ...
    Problem: adding a little height to a series of rows that already have arbitrary/mixed heights.
    ...via selecting a range of cells in a column and running the following macro code...

    Please Login or Register  to view this content.
    Please note, I am a bit rusty and I don't have time to clean up...
    ...the "MergeArea" is likely not necessary and would do well to be changed for more proper range-object-property, but this should work nonetheless.

    So for instance, Column A has been set to a certain width and cells...
    A1 = three lines of wrapped info
    A2 = one line of data
    A3 = two lines of wrapped info

    I select "rows" 1-3 and autofit the rows, which snaps then to smallest height.
    Then I select "cells" A1-A3 and run the macro to add 10px height to each row.

    This is not for use with merged cells... that's a different solution altogether.

    Cheers,
    TwoHawks
    Love is the function
    No form is the Tool

  10. #10
    Registered User
    Join Date
    10-26-2010
    Location
    Montreal, Canada
    MS-Off Ver
    Excel 2007
    Posts
    1

    Smile Re: Add space between rows?

    THANK YOU TWOHAWKS!!!

    I've been looking all over for a solution to this problem too. Yours is the fist solution that actually does what people have been looking for. Thanks again!

    Derek

  11. #11
    Registered User
    Join Date
    02-29-2012
    Location
    Slough, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Add space between rows?

    The original script just saved me about 2 hours work.

    Thank you very much for posting that.

    Much appreciated.

  12. #12
    Registered User
    Join Date
    01-26-2013
    Location
    Vancouver, WA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Possible to add space between rows?

    Thank you!!!

  13. #13
    Registered User
    Join Date
    08-14-2015
    Location
    Boston MA, USA
    MS-Off Ver
    2013
    Posts
    1

    Re: Add space between rows?

    Two+ Years later and I just want to say ... Twohawk's answer worked for me on Office 2013. Thanks!

+ Reply to 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