HarrySiers
Board Regular
- Joined
- May 27, 2015
- Messages
- 61
Dear forumers,
I am looking for a macro that does the following:
Cell B1 contains the following ten words:
one two three four five six seven eight nine ten
Cell C1 contains the following ten words:
eins zwei drei vier fünf sechs sieben acht neun zehn
Desired:
A macro that leaves the content of B1 and C1 unchanged, and that inserts 34 rows below row 1 that contain the following content from B1 and C1:
In the inserted rows 2-35, cells B2-B35:
one two three four
two three four five
three four five six
four five six seven
five six seven eight
six seven eight nine
seven eight nine ten
one two three
two three four
three four five
four five six
five six seven
six seven eight
seven eight nine
eight nine ten
one two
two three
three four
four five
five six
six seven
seven eight
eight nine
nine ten
one
two
three
four
five
six
seven
eight
nine
ten
In the inserted rows 2-35, cells C2-C35:
eins zwei drei vier
zwei drei vier fünf
drei vier fünf sechs
vier fünf sechs sieben
fünf sechs sieben acht
sechs sieben acht neun
sieben acht neun zehn
eins zwei drei
zwei drei vier
drei vier fünf
vier fünf sechs
fünf sechs sieben
sechs sieben acht
sieben acht neun
acht neun zehn
eins zwei
zwei drei
drei vier
vier fünf
fünf sechs
sechs sieben
sieben acht
acht neun
neun zehn
eins
zwei
drei
vier
fünf
sechs
sieben
acht
neun
zehn
After this the macro should jump to row 36 and if row 36 contains similar content (ten words in cell B36 and ten words in cell C36) the macro should repeat itself, until the macro hits upon a row that contains no content, after which the macro should stop.
I am very curious if any of you Excell-whizzkids knows the solution.
Thank you in advance!
Harry
I am looking for a macro that does the following:
Cell B1 contains the following ten words:
one two three four five six seven eight nine ten
Cell C1 contains the following ten words:
eins zwei drei vier fünf sechs sieben acht neun zehn
Desired:
A macro that leaves the content of B1 and C1 unchanged, and that inserts 34 rows below row 1 that contain the following content from B1 and C1:
In the inserted rows 2-35, cells B2-B35:
one two three four
two three four five
three four five six
four five six seven
five six seven eight
six seven eight nine
seven eight nine ten
one two three
two three four
three four five
four five six
five six seven
six seven eight
seven eight nine
eight nine ten
one two
two three
three four
four five
five six
six seven
seven eight
eight nine
nine ten
one
two
three
four
five
six
seven
eight
nine
ten
In the inserted rows 2-35, cells C2-C35:
eins zwei drei vier
zwei drei vier fünf
drei vier fünf sechs
vier fünf sechs sieben
fünf sechs sieben acht
sechs sieben acht neun
sieben acht neun zehn
eins zwei drei
zwei drei vier
drei vier fünf
vier fünf sechs
fünf sechs sieben
sechs sieben acht
sieben acht neun
acht neun zehn
eins zwei
zwei drei
drei vier
vier fünf
fünf sechs
sechs sieben
sieben acht
acht neun
neun zehn
eins
zwei
drei
vier
fünf
sechs
sieben
acht
neun
zehn
After this the macro should jump to row 36 and if row 36 contains similar content (ten words in cell B36 and ten words in cell C36) the macro should repeat itself, until the macro hits upon a row that contains no content, after which the macro should stop.
I am very curious if any of you Excell-whizzkids knows the solution.
Thank you in advance!
Harry
Last edited: