Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Inserting 10 Rows

I have a list of data in two columns. I would like to
insert ten rows between each row of data (except the first
row of course).

Column A Column B
12.5 45
<ten rows
23 34
<ten rows
90 43

Any suggestions?

TIA,
Todd





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Inserting 10 Rows

Todd,

Sub Insert10Rows()
Dim myRow As Long
For myRow = Range("A65536").End(xlUp).Row To 2 Step -1
Cells(myRow, 1).Resize(10, 1).EntireRow.Insert
Next myRow
End Sub

HTH,
Bernie
MS Excel MVP

"Todd" wrote in message
...
I have a list of data in two columns. I would like to
insert ten rows between each row of data (except the first
row of course).

Column A Column B
12.5 45
<ten rows
23 34
<ten rows
90 43

Any suggestions?

TIA,
Todd







Reply
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
inserting rows inbetween rows of data ? Azeem Excel Discussion (Misc queries) 1 October 27th 09 07:38 AM
Copying & Inserting Rows w/o Affecting other Rows Etc. LRay67 Excel Worksheet Functions 1 October 22nd 08 02:10 AM
Inserting Rows JBoyer Excel Discussion (Misc queries) 1 July 10th 08 04:32 PM
Inserting Blank rows after every row upto 2500 rows Manju Excel Worksheet Functions 8 August 22nd 06 12:54 PM
inserting rows Ankur Excel Discussion (Misc queries) 1 August 9th 05 07:26 PM


All times are GMT +1. The time now is 04:03 AM.

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

About Us

"It's about Microsoft Excel"