• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Split records or rows for every 100 rows -- require help

mithelesh

New Member
:)Hi all ,

Good Day!!!

Please suggest how to put a break for every 100 lines of records in excel.

No new sheets must be created. I have attached an excel sheet.

Regards
Mithelesh.S:rolleyes:
 

Attachments

:)Hi all

Goodday !!!

Please check the sheet , "To put a break for every 500th row or Nth row".

Code:

Sub InsertRowsMod9()
Dim r As Long
r = 501
Do Until Len(Cells(r, 1)) = 0
Rows(r).insert Shift:=xlDown
r = r + 501
Loop
End Sub


Regards
Mithelesh.S:DD
 

Attachments

Back
Top