Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How do I add a larger sized, blank every other row in a spread she
I have a spread sheet full of data. I need to incert a larger sized, blank
row in every other space? Macro possible. I have this macro: Sub test() Application.ScreenUpdating = False Dim numRows As Integer Dim R As Long Dim rng As Range numRows = 1 Set rng = ActiveSheet.UsedRange For R = rng.Rows.count To 1 Step -1 rng.rows(R + 1). Resize(numrows).EntireRow.Insert Next R Application.ScreenUpdating = True This will add the row, I just need it to be a larger size. Thanks Jim |
#2
|
|||
|
|||
Selection.RowHeight = 25.5 (or whatever size you want)
"Jimv" wrote: I have a spread sheet full of data. I need to incert a larger sized, blank row in every other space? Macro possible. I have this macro: Sub test() Application.ScreenUpdating = False Dim numRows As Integer Dim R As Long Dim rng As Range numRows = 1 Set rng = ActiveSheet.UsedRange For R = rng.Rows.count To 1 Step -1 rng.rows(R + 1). Resize(numrows).EntireRow.Insert Next R Application.ScreenUpdating = True This will add the row, I just need it to be a larger size. Thanks Jim |
#3
|
|||
|
|||
Bigwheel,
Where do I insert this to make every other row larger? Thanks "bigwheel" wrote: Selection.RowHeight = 25.5 (or whatever size you want) "Jimv" wrote: I have a spread sheet full of data. I need to incert a larger sized, blank row in every other space? Macro possible. I have this macro: Sub test() Application.ScreenUpdating = False Dim numRows As Integer Dim R As Long Dim rng As Range numRows = 1 Set rng = ActiveSheet.UsedRange For R = rng.Rows.count To 1 Step -1 rng.rows(R + 1). Resize(numrows).EntireRow.Insert Next R Application.ScreenUpdating = True This will add the row, I just need it to be a larger size. Thanks Jim |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
CONCATENATE problem with blank cells | Excel Discussion (Misc queries) | |||
Counting blank and filled cells within a range. | Excel Discussion (Misc queries) | |||
How to delete blank rows | Excel Discussion (Misc queries) | |||
blank cells | Excel Discussion (Misc queries) | |||
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? | Excel Worksheet Functions |