LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default Adding new rows in between rows...

Great solution, Bob. Once again, simplicity and a good practical mind
prevail over macro wizardry!

*************************
"Bob Umlas" wrote in message
...
Here's a method which is much faster than a macro -- practically
instantaneous:
In an unused column, say G, enter 1 in G1 and 2 in G2. Select G1:G2, use
the fill handle & drag to the bottom of your data (if the column is
adjacent to your data, double-click the fill handle). Say this goes to row
4000. You now have #s from 1-4000. Copy them, paste them below so you'd
have 1-4000 again in cells G4001:G8000. So now you have 2 sets of #s
1-4000. Select all your data and SORT by column G. Voila, your data is
double-spaced -- Excel sorted the blank rows into place. Now simply clear
column G!!

Bob Umlas
Excel MVP

"Mike" wrote in message
...
Sub insertrow()
lastRow = Range("A" & Rows.Count).End(xlUp).Row * 2
MsgBox lastRow
For i = 1 To lastRow
i = i + 1
Range("A" & i).EntireRow.Insert
Next
End Sub

"MarshaMarsha" wrote:

I need to add a blank row in between each row and the length of the
document
is seven pages; so, is there a way I can do this without having to add
them
individually?? If you can help me with this........thanks for saving my
sanity!!!





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding rows Guy Lydig Excel Discussion (Misc queries) 9 November 22nd 07 07:34 AM
Adding five new rows every 40 rows in a spreadsheet? Olzki Excel Discussion (Misc queries) 8 May 18th 07 02:14 AM
Adding Rows offsets to working rows across two worksheets tom Setting up and Configuration of Excel 3 July 30th 06 07:54 PM
Adding rows cdavis82 Setting up and Configuration of Excel 1 October 25th 05 11:23 PM
adding ROWS Colin2u Excel Discussion (Misc queries) 1 September 5th 05 09:55 PM


All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"