Insert x number of rows

BakerBaker

New Member
Joined
Feb 12, 2018
Messages
38
Office Version
  1. 2019
Platform
  1. Windows
Good morning, thanks in anticipation.

Column A consists of a variable number of rows containing data, with each "block" of rows being separated by a blank row. I would like to be able to insert X number of rows after each existing blank row so that each new "block" of rows totals 13. In the example below "JAN" is row 1 - row 14 - row 27 - row 40 etc

Col. A
  • 1 JAN
  • 2 FEB
  • 3 MAR
  • 4 APR
  • 5 (blank) Insert 8 blank rows
  • 14 JAN
  • 15 FEB
  • 16 MAR
  • 17 APR
  • 18 MAY
  • 19 JUN
  • 20 (blank) Insert 6 blank rows
  • 27 JAN
  • 28 FEB
  • 29 MAR
  • 30 APR
  • 31 MAY
  • 32 JUN
  • 33 JUL
  • 34 AUG
  • 35 (blank) Insert 4 blank rows
  • 40 JAN
  • 41 FEB -etc.
 
@Joe4, I followed OP's indication:
I would like to be able to insert X number of rows after each existing blank row so that each new "block" of rows totals 13.
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
@Joe4, I followed OP's indication:
Well, that clearly proves that you are a better reader than I am! ;)
So it definitely looks like your interpretation is the right one.

Unfortunately, sometimes I focus too much on the images (I like visuals) and not enough on the words!
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top