in my example you can see a table with initials (left) followed by different times. At some rows, as you can see, there is a row with the initials followed by times and there is a row beneath without initials but with times. This row belongs to the row above with the initials. I've colored the rows yellow.
What i want to do, is replace the row above with the end-time beneath. As an example:
BOB | 12:00 - 17:00
------17:00 - 20:00
I want to change this to 12:00 - 20:00 (on one row)
But i don't know how i can check with VBA if there are 2 rows for one person, and replace the end-time on row one with the end-time on row 2.
Is there anyone who knows how this can be done?