I would like to have a macro that will take all of the rows in Column A and combine them into cell B2. Normally in excel I would just do A1&A2&A3...
Information Example:
St Louis
Chicago
Boston
In cell B2 I would like it to look like
St LouisChicagoBoston
I was able to get a formula that will run it through the number of rows that will have something. I just need to code for the space listed as [needed formula].
Dim WS As Worksheet
Dim LastRow As Long
Set WS = ActiveSheet
With WS
LastRow = .Cells(.Rows.Count, 1).End(xlUp).Row
For A = 1 To LastRow
[needed formula]
Next
End With
Information Example:
St Louis
Chicago
Boston
In cell B2 I would like it to look like
St LouisChicagoBoston
I was able to get a formula that will run it through the number of rows that will have something. I just need to code for the space listed as [needed formula].
Dim WS As Worksheet
Dim LastRow As Long
Set WS = ActiveSheet
With WS
LastRow = .Cells(.Rows.Count, 1).End(xlUp).Row
For A = 1 To LastRow
[needed formula]
Next
End With