Hi,
I'm using Excel 2007. I'm looking for a VBA macro solution.
In Column A, I've got text like this:
<b>Column A</b>
This is my Year
apple
boy
cat
snake
This is Year 2003
banana
girl
leaf
elephant
2004 is a good Year
dog
wolf
apple
mango
I want to find <b>Year</b> including all records below it, cut & paste it in the Column next to it. Therefore, eventually all Column headers will contain the word <b>Year</b> in it. The end result should look something like this:
<b>Column B</b>----------<b>Column C</b>----------------<b>Column D</b>
This is my Year----This is Year 2003--------2004 is a good Year
apple----------------banana-------------------dog
boy------------------girl-----------------------wolf
----------------------leaf-----------------------apple
cat-------------------elephant------------------
snake-------------------------------------------mango
the word <b>Year</b> is case sensitive. Could you show me the code please?
Thanks.
I'm using Excel 2007. I'm looking for a VBA macro solution.
In Column A, I've got text like this:
<b>Column A</b>
This is my Year
apple
boy
cat
snake
This is Year 2003
banana
girl
leaf
elephant
2004 is a good Year
dog
wolf
apple
mango
I want to find <b>Year</b> including all records below it, cut & paste it in the Column next to it. Therefore, eventually all Column headers will contain the word <b>Year</b> in it. The end result should look something like this:
<b>Column B</b>----------<b>Column C</b>----------------<b>Column D</b>
This is my Year----This is Year 2003--------2004 is a good Year
apple----------------banana-------------------dog
boy------------------girl-----------------------wolf
----------------------leaf-----------------------apple
cat-------------------elephant------------------
snake-------------------------------------------mango
the word <b>Year</b> is case sensitive. Could you show me the code please?
Thanks.