+ Reply to Thread
Results 1 to 3 of 3

Insert Blank Row Every 30 Rows

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    In a House on earth
    MS-Off Ver
    Excel 2013 MAC
    Posts
    29

    Unhappy Insert Blank Row Every 30 Rows

    I recently got a data file with a LOAD of information, reading it is becoming a strain as i always lose track of where i am

    I would like to insert/create a new row for every 30.


    How can I get this done?
    * * * * * * *
    How beautiful it is to excel, and the goodness of giving from your heart. || Always strive to excel, but only on weekends. - Richard Rorty & Robert Mondavi

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Insert Blank Row Every 30 Rows

    You can use VBA for this...

    Please Login or Register  to view this content.
    Paste code in a Normal module
    • Where to paste code
    • Highlight macro to copy >> Ctrl + C >> Open your workbook
    • Alt + F11 >> opens the Visual Basic Editor (VBE)
    • Ctrl + R >>opens the Project Explorer (if not already open on left side of screen)
    • Insert menu >> Module or Alt + I, M >> activates the Insert menu and inserts a Standard Module
    • Paste code >> Ctrl + V (right side of screen)
    • Alt + Q >> exits VBE and returns to Excel
    • Back in Excel >> Alt + F8 >> Macro Dialog Box >> Highlight macro >> Run
    HTH
    Regards, Jeff

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Insert Blank Row Every 30 Rows

    hi anonymust, here's a non-VBA approach if you need one. place a formula in another column.
    this is for rows 30, 60, 90 & so on.
    =MOD(ROW(),30)=0
    this is for data that makes up 30, 60, 90 & so on. that means your data may start from A8 & 30 rows later is A37. change the one in red to where you start
    =MOD(COUNTA(A$1:A1),30)=0

    after this, do an Autofilter & select those that are TRUE. select those rows & press ALT + ; to select visible cells. then Home -> Insert -> Insert Sheet Rows

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1