Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a non-looping method of doing this as well...
Sub ConcatenateAtoK() On Error Resume Next With WorksheetFunction Range("L1").Value = .Trim(Join(.Transpose(.Transpose(Selection)))) End With End Sub -- Rick (MVP - Excel) "Mik" wrote in message ... I wish to Concatenate a Range of values. The range will always be a single row, from column A:K, however the row number could vary. So, the range will be highlighted / selected by the user. How, using VBA, do i copy the selected range and Concatenate to a single cell? I would also like a "space" between each concatenated value. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
concatenate values | Excel Worksheet Functions | |||
Concatenate Values with VBA | Excel Discussion (Misc queries) | |||
Concatenate values IF() | Excel Worksheet Functions | |||
Concatenate values | Excel Worksheet Functions | |||
Concatenate values | Excel Programming |