Sub JoinThem()
Range("K1").Value = Join(Application.Transpose(Range("E1", Range("E" & Rows.Count).End(xlUp)).Value), ", ")
End Sub
ThanksPeter, Great to see you here again.
This relates to Myconservator's "How do you want them to be combined, e.g. spaces in between, dash in between"I confess to being a novice and not aware of what I should do with your suggestion on adjustment of ", "
Can you give us anything more to go on? What sort of data do you have in column E? I've just run the code without error with 350 rows of text entries consisting of 1 to 5 words each... however, I am currently getting a runtime error 13.
Excel Workbook | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | |||
1 | Page 1:The duck quacks. Page 8:The birds of Australia have an admirer. | |||||||||||
2 | The duck quacks. | Page 1:The duck quacks. | Page 1 | : | ||||||||
3 | The birds of Australia have an admirer. | Page 8:The birds of Australia have an admirer. | Page 8 | : | ||||||||
Join cells |