I have some tables that I pull off a website using copy and paste. The data however isn't kept together when I paste it. For example:
Cell A1 has: 09/22/2002
Cell B1 has: Mary had
Cell B2 has: a little lamb
Cell B3 has: which ran
Cell B4 has: away.
Cell C1 has: Black
Cell C2 has: (empty cell)
Cell C3 has: (empty cell)
Cell C4 has: (empty cell)
Cell A2 has: 09/24/2002
Cell B5 has: Three little
Cell B6 has: pigs built
Cell B7 has: a house.
Cell C5 has: (empty cell)
Cell C6 has: (empty cell)
Cell C7 has: (empty cell)
The output should be:
Cell A1: 09/22/2002
Cell B1: Mary had a little lamb which ran away.
Cell A2: 09/24/2002
Cell B2: Three little pigs built a house.
Is there preferably a function that I can implement using the concatenate function to tell it concatenate those certain rows? If there's VBA code that would do this, It would also be helpful. Thanks in advance!
Cell A1 has: 09/22/2002
Cell B1 has: Mary had
Cell B2 has: a little lamb
Cell B3 has: which ran
Cell B4 has: away.
Cell C1 has: Black
Cell C2 has: (empty cell)
Cell C3 has: (empty cell)
Cell C4 has: (empty cell)
Cell A2 has: 09/24/2002
Cell B5 has: Three little
Cell B6 has: pigs built
Cell B7 has: a house.
Cell C5 has: (empty cell)
Cell C6 has: (empty cell)
Cell C7 has: (empty cell)
The output should be:
Cell A1: 09/22/2002
Cell B1: Mary had a little lamb which ran away.
Cell A2: 09/24/2002
Cell B2: Three little pigs built a house.
Is there preferably a function that I can implement using the concatenate function to tell it concatenate those certain rows? If there's VBA code that would do this, It would also be helpful. Thanks in advance!