Dear beloved VBA enthousiasts,
I've already tried my best to program the following macro on my own. I think my request is just too hard for me at this moment (because I've just recently discovered Excel VBA).
My request is the following:
So the macro must find a certain word (for example "PTS01") in the first column.
After the macro has found the PTS01 is has to insert 3 rows below the found "PTS01" and merge the 3 rows below the found word including the word "PTS01".
It also has to merge the 4 rows right next to "PTS01" (second colulm)
Then it has to insert some text like: test1 in column 3.
test2
Test 3
test 4
This all need to be done in a loop so it finds all the words and does the exact same proces for all the found "PTS01" words.
I've tried to program it on my own but I've never got further than inserting 3 rows below a highlighted word and merging all the cells beside them.
(this is a basic program so I think it has no point in posting this here)
First this is what is inserted in the excel; (start before running macro)
After the macro has run it should look like this;
I hope someone can help me with my request.
Thanks in advance,
I've already tried my best to program the following macro on my own. I think my request is just too hard for me at this moment (because I've just recently discovered Excel VBA).
My request is the following:
So the macro must find a certain word (for example "PTS01") in the first column.
After the macro has found the PTS01 is has to insert 3 rows below the found "PTS01" and merge the 3 rows below the found word including the word "PTS01".
It also has to merge the 4 rows right next to "PTS01" (second colulm)
Then it has to insert some text like: test1 in column 3.
test2
Test 3
test 4
This all need to be done in a loop so it finds all the words and does the exact same proces for all the found "PTS01" words.
I've tried to program it on my own but I've never got further than inserting 3 rows below a highlighted word and merging all the cells beside them.
(this is a basic program so I think it has no point in posting this here)
First this is what is inserted in the excel; (start before running macro)
After the macro has run it should look like this;
I hope someone can help me with my request.
Thanks in advance,