Merry Christmas!
I'm in need of some expert help.
Here's a sample of what I'm trying to do in Excel 2007 (using a Macro):
Change
Part Keyword1 Keyword2 Keyword3 Keyword 4
1122 Cup Ceramic Beverage Mug
1144 Lotion Moisturizer
Into
Part Keyword1 Keyword2 Keyword3 Keyword 4
1122 Cup
1122 Ceramic
1122 Beverage
1122 Mug</SPAN>
1144 Lotion
1144 Moisturizer
I copied and pasted the code from
http://www.mrexcel.com/forum/excel-questions/673505-convert-single-row-multiple-rows-same-column-value-help.html</SPAN></SPAN>
and saved the document as an .xlsm file, but get inconsistent results (see below).
It works fine for a 5 rows of data, but not for 15,000 (no single row has more than 6 columns of data). The larger file gets the error shown below, with only some columns converted to one (typically near the bottom of the file, skipping most rows).
Also, I always get the following error:
run-time error '1004' pointing at the line Rows(r + 1).Resize(n-1).Insert
But on the smaller sample, the procedure completes, despite the error.
I'm working in Excel 2007 on a PC running Windows XP Pro.
Thanks for any help,
Scott
I'm in need of some expert help.
Here's a sample of what I'm trying to do in Excel 2007 (using a Macro):
Change
Part Keyword1 Keyword2 Keyword3 Keyword 4
1122 Cup Ceramic Beverage Mug
1144 Lotion Moisturizer
Into
Part Keyword1 Keyword2 Keyword3 Keyword 4
1122 Cup
1122 Ceramic
1122 Beverage
1122 Mug</SPAN>
1144 Lotion
1144 Moisturizer
I copied and pasted the code from
http://www.mrexcel.com/forum/excel-questions/673505-convert-single-row-multiple-rows-same-column-value-help.html</SPAN></SPAN>
and saved the document as an .xlsm file, but get inconsistent results (see below).
It works fine for a 5 rows of data, but not for 15,000 (no single row has more than 6 columns of data). The larger file gets the error shown below, with only some columns converted to one (typically near the bottom of the file, skipping most rows).
Also, I always get the following error:
run-time error '1004' pointing at the line Rows(r + 1).Resize(n-1).Insert
But on the smaller sample, the procedure completes, despite the error.
I'm working in Excel 2007 on a PC running Windows XP Pro.
Thanks for any help,
Scott