Give the macro a try...
Code:
Sub ConCatA7ToDateCell()
Dim DateCell As Range
Set DateCell = Range("A7:A" & Cells(Rows.Count, "A").End(xlUp).Row).Find("Date", , xlValues, xlPart, xlByColumns, xlNext, False)
If Not DateCell Is Nothing Then
Range("A6").Value = Join(WorksheetFunction.Transpose(Range("A7:A" & (DateCell.Row - 1))))
End If
End Sub
Note: You didn't say, so I assumed you wanted a space between each cell's text.
Hi thanks for the code, I am having some difficulty in get it to work below is the data I tried to no avail, I have walked through your code and it seems reasonable and I have no idea why it has fail to do the task, I was expecting a concatenated string in cell A6 of the two paragraphs but got nothing <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o
></o
>
Can you see my error <o></o>
<o
></o
>
<TABLE style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; MARGIN: auto auto auto 42pt; WIDTH: 416.5pt; BORDER-COLLAPSE: collapse; BORDER-TOP: medium none; BORDER-RIGHT: medium none; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" class=MsoTableGrid border=1 cellSpacing=0 cellPadding=0 width=555><TBODY><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 0"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt" vAlign=top width=555>
title: Percy's Park - After the Storm <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 1"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
author: Nick Butterworth <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 2"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
format: Paperback <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 3"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
isbn: 0-00-100448-4 / 978-0-00-100448-1 <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 4"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
publisher: HarperCollins <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 5"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
<o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 6"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 7"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 8"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 9"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 10"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 11"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 46.15pt; mso-yfti-irow: 12"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 46.15pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
A storm is raging through the park causing Percy, the park keeper, to have a sleepless night worrying about the damage being done to his beloved park. When he gets up the next morning he finds the old oak tree has been blown down. This is a disaster for all his animal friends who used the tree as their home. Fortunately, Percy is on hand to help find them a new place to live. <o></o>
</TD></TR><TR style="HEIGHT: 34.8pt; mso-yfti-irow: 13"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 34.8pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
The simple text and expressive illustrations perfectly combine to create a picture storybook that is ideal for reading aloud to young children. The poster-sized gatefold at the end is an added surprise and is a superb example of Nick Butterworth's skills as an illustrator. (Ages <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1:time Minute="58" Hour="5">2 to 6</st1:time>) <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 14"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 15"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
Date<o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 16"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555>
Search for Author Book Short story ISBN <o></o>
</TD></TR><TR style="HEIGHT: 11.35pt; mso-yfti-irow: 17; mso-yfti-lastrow: yes"><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; PADDING-BOTTOM: 0cm; BACKGROUND-COLOR: transparent; PADDING-LEFT: 5.4pt; WIDTH: 416.5pt; PADDING-RIGHT: 5.4pt; HEIGHT: 11.35pt; BORDER-TOP: #c0c0c0; BORDER-RIGHT: windowtext 1pt solid; PADDING-TOP: 0cm; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=555><o
></o
>
</TD></TR></TBODY></TABLE>
There error pointed to this line of code
Range("A6").Value = Join(WorksheetFunction.Transpose(Range("A7:A" & (DateCell.row - 1))))