View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
mdmackillop[_30_] mdmackillop[_30_] is offline
external usenet poster
 
Posts: 1
Default Inserting Lines using multiple Macros


As with deleting rows, its best to insert from the bottom up.

Try these 2 codes in a block of data to see the difference
Sub Inserts()
For i = 20 To 2 Step -2
Rows(i).Insert
Next
End Sub


Sub Inserts2()
For i = 2 To 20 Step 2
Rows(i).Insert
Next
End Sub


--
mdmackillop
------------------------------------------------------------------------
mdmackillop's Profile: http://www.thecodecage.com/forumz/member.php?userid=113
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=66591