ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   loop to insert rows (https://www.excelbanter.com/excel-programming/313766-loop-insert-rows.html)

wa_hawks

loop to insert rows
 
I need code for a loop that will insert a row (above) then go to the next row
and insert a row. I have code to insert rows however, I get into an infinite
loop.

Thanks!

Tom Ogilvy

loop to insert rows
 
there is no loop associated with inserting two rows. It sounds like you are
doing this in an event which causes the event to fire again.

--
Regards,
Tom Ogilvy


"wa_hawks" wrote in message
...
I need code for a loop that will insert a row (above) then go to the next

row
and insert a row. I have code to insert rows however, I get into an

infinite
loop.

Thanks!





All times are GMT +1. The time now is 05:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com