Need VBA to combine cells in a column

skyport

Active Member
Joined
Aug 3, 2014
Messages
374
I have data in multiple cells in column E. I need to join them all together in cell K1. Please help.
 
Last edited:
Peter, would it make a difference if this has to be run on excel 2000, which is the case here.
It could well be but I have no idea. A 15 year old version is out of my realms of memory or testing.
Time to upgrade!!!

Here is another suggestion to try
Rich (BB code):
Sub JoinThem2()
  Dim i As Long
  Dim s As String
  
  For i = 1 To Range("E" & Rows.Count).End(xlUp).Row
    s = s & Cells(i, "E").Value
  Next i
  Range("K1").Value = s
End Sub
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Peter, thankfully that code did the job. Thanks so much. Regarding upgrading excel, amazingly the newer versions will not do what the old 2000 version will do and I must stock with it for this particular job. I am so happy you got around the issue and once again solved what no one else could. Take care of those birds that come to the back yard. :)
 
Upvote 0
It wouldn't be so much the types of things that most everyone would look at and be involved with. It more pertains to the way things were displayed when using other software programs in conjunction such as Dragon voice recognition. In some cases, the newer versions of Excel and Dragon don't allow some things to be done in the manner I have to do them where as the older version does. I ended up taking excel 2007 off and reinstalling the 2000 for this reason. It simply was not allowing the work to be done in the same way as with 2000, which is mostly a visual display issue as well as how it handles the voice recognition for auto complete of a cell.
 
Upvote 0

Forum statistics

Threads
1,223,107
Messages
6,170,137
Members
452,304
Latest member
Thelingly95

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top