From: fzl2007 on 8 Mar 2010 17:35 I want to insert a blank row every two rows, with the consideration that my first row is the title. Thanks. Faye
From: joel on 8 Mar 2010 17:58 the best way is to go from the end of the sheet back to the beginning like this Lastrow = Range("A" & rows.count).end(xlup).row for rowcount = Lastrow to 1 step -2 Rows(RowCount).insert next rowCount -- joel ------------------------------------------------------------------------ joel's Profile: 229 View this thread: http://www.thecodecage.com/forumz/showthread.php?t=185766 [url="http://www.thecodecage.com/forumz/"]Excel Live Chat[/url]
|
Pages: 1 Prev: Copy/Paste charts , ranges in PowerPoint Next: VBA, refrencing a range |