LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default inserting rows..!!

On Jul 31, 7:28*am, Joel wrote:
Sub InsertRows()

MyRows = Selection.Rows.Count

For RowCount = (Selection.Row + MyRows - 1) To (Selection.Row + 1) Step -1

* *Rows(RowCount).Insert
Next RowCount

End Sub

"via135" wrote:
hi


is there any macro to insert rows
between alternate rows in a selection..?


for example..i am selecting R1:R10
and i need blank rows between R1 & R3....R3 & R5....R5 & R7..so on..!


any hlp pl..?


-via135


thks..joel..!
it works like a charm..!
thks again!

-via135
 
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 Guy Lydig Excel Discussion (Misc queries) 2 July 9th 07 09:56 PM
Inserting Blank rows after every row upto 2500 rows Manju Excel Worksheet Functions 8 August 22nd 06 12:54 PM
Inserting Rows GOL Excel Discussion (Misc queries) 2 October 27th 05 08:18 PM
Inserting rows eddie Excel Discussion (Misc queries) 1 October 18th 05 08:37 PM
Inserting rows Niranjan Excel Worksheet Functions 1 May 30th 05 10:02 AM


All times are GMT +1. The time now is 02:14 PM.

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"