ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   repeat range of data values down through end of table (https://www.excelbanter.com/excel-programming/422410-repeat-range-data-values-down-through-end-table.html)

PiaD

repeat range of data values down through end of table
 
Hi -
I would like to repeat of range/pattern of data values (cells B2 through C5)
down through columns B and C until the end of table....For instance the
values in B2 through C5 would be repeated again starting on next blank row
which would be B6 through C9 and so on...

Thank you!
Pia

joel

repeat range of data values down through end of table
 


Range("B2:")C5.Copy
For RowCount = 6 to 200 step 4
Range("B" & RowCount).Paste
Next RowCount

"PiaD" wrote:

Hi -
I would like to repeat of range/pattern of data values (cells B2 through C5)
down through columns B and C until the end of table....For instance the
values in B2 through C5 would be repeated again starting on next blank row
which would be B6 through C9 and so on...

Thank you!
Pia


joel

repeat range of data values down through end of table
 
I made a typo

Range("B2:C5").Copy
For RowCount = 6 to 200 step 4
Range("B" & RowCount).Paste
Next RowCount


"PiaD" wrote:

Hi -
I would like to repeat of range/pattern of data values (cells B2 through C5)
down through columns B and C until the end of table....For instance the
values in B2 through C5 would be repeated again starting on next blank row
which would be B6 through C9 and so on...

Thank you!
Pia


PiaD

repeat range of data values down through end of table
 
Thank you for the response! I will give it a try.

"Joel" wrote:

I made a typo

Range("B2:C5").Copy
For RowCount = 6 to 200 step 4
Range("B" & RowCount).Paste
Next RowCount


"PiaD" wrote:

Hi -
I would like to repeat of range/pattern of data values (cells B2 through C5)
down through columns B and C until the end of table....For instance the
values in B2 through C5 would be repeated again starting on next blank row
which would be B6 through C9 and so on...

Thank you!
Pia



All times are GMT +1. The time now is 12:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com