Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I need to convert a column of data (ie 1 2 3 4) into a csv text string (ie
1,2,3,4), are there any excel functions that will help...thanks for the help |
#2
![]() |
|||
|
|||
![]()
Hi
You can use this macro, adjusting it for your needs. Sub BigConcatenate() ColumnLenght = WorksheetFunction.Count(Range("A1:A1000")) - 1 For x = 0 To ColumnLenght csvresult = csvresult & "," & Range("A1").Offset(x, 0) Next x Range("B2") = csvresult End Sub Simply paste it into a module in the Visual Basic Editor (VBE), pressing Alt and F11 to get to the VBE. Then run from Excel ...Tool...Macros....Run. Hope that helps ____________________ Naz London "Charlie" wrote: I need to convert a column of data (ie 1 2 3 4) into a csv text string (ie 1,2,3,4), are there any excel functions that will help...thanks for the help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I convert a data from multiple rows into 1 column? | Excel Worksheet Functions | |||
In a column of text data, how do I delete random cells that have . | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) | |||
convert a column of text to proper | New Users to Excel | |||
how do I easily convert a single column of text (multiple rows si. | Excel Discussion (Misc queries) |