Use text to columns, use space as your delimiter. Works fine for me.
Edit: Oh I misread what you said. Just use text to columns on B with , as the delimiter. Set the target as E1.
Use text to columns, use space as your delimiter. Works fine for me.
Edit: Oh I misread what you said. Just use text to columns on B with , as the delimiter. Set the target as E1.
Last edited by Dulanic; 05-30-2010 at 06:42 PM.
Yes i knew this is possible, but how can we do using within a module or say somekind of script, than attach it to a macro.
Last edited by salmansohail; 05-30-2010 at 06:46 PM.
Use macro recorder....
It gives:
To always make it column B just change selection to Columns:![]()
Selection.TextToColumns Destination:=Range("E1"), DataType:=xlDelimited, _ TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _ Semicolon:=False, Comma:=True, Space:=False, Other:=False, FieldInfo _ :=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), Array(6, 1)), _ TrailingMinusNumbers:=True
![]()
Columns("B").TextToColumns Destination:=Range("E1"), DataType:=xlDelimited, _ TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _ Semicolon:=False, Comma:=True, Space:=False, Other:=False, FieldInfo _ :=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), Array(6, 1)), _ TrailingMinusNumbers:=True
sorry i didn't get it. i think this is quite possible if i got excel 2003 or excel 2007, but unfortunatley for tonight i got open office calc and there is option in calc to specify destination column.
that is why i want some kind of split function and attach this to a macro/button.
but Many thanks
Sorry, don't use calc so couldnt help ya there.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks