I am trying to create an excel macro that will take a spreadsheet that has n number of rows in it and copy each row as many times as a number located within one of the cells. Also it would increment one of the numbers within a cell. For example I have a layout like the following:
Column1 Column2 Column3 Column4, etc..
Data-a Data-a 1000 5
Data-b Data-b 4600 10
The result would be:
Column1 Column2 Column3 Column4
Data-a Data-a 1000 5
Data-a Data-a 1001 5
Data-a Data-a 1002 5
Data-a Data-a 1003 5
Data-a Data-a 1004 5
Data-b Data-b 4600 10
Data-b Data-b 4601 10
Data-b Data-b 4602 10
Data-b Data-b 4603 10
Data-b Data-b 4604 10
Data-b Data-b 4605 10
Data-b Data-b 4606 10
Data-b Data-b 4607 10
Data-b Data-b 4608 10
Data-b Data-b 4609 10
Hopefully this makes sense. Looking for someone who may be a little more versed with this type of macro to shed some light or point me in the right direction.
Thanks,
Eric