Thread
:
adding rows to spreadsheet
View Single Post
#
4
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
adding rows to spreadsheet
Just copy/paste into a module and fire it. You don't have to tell it how
large. Assumes column A.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"janets" wrote in message
...
Don:
Thanks for taking the time to answer, but where do I enter this code?
and do I need to tell the subroutine how large the spreadsheet is so that
it knows when to stop?
"Don Guillett" wrote:
sub addblankrowevery6()
For i = Cells(Rows.Count, "a").End(xlUp).Row To 5 Step -6
Rows(i).Insert
Next i
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"janets" wrote in message
...
How can I automatically enter a blank row every 6 rows in excel. doing
it
manually is too time consuming because the spreadsheet is so large.
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett