If you want to see some code, then I'd suggest you record a macro when you do
one column the way you want.
Man, you're almost as absent-minded as me sometimes, the title says
Excel 2003.
OK, about the macro, I have a question, the recorded macro looks like
this
Sub Convert2Text()
'
' Convert2Text Macro
'
Selection.TextToColumns Destination:=Range("AH1"),
DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False,
Tab:=True, _
Semicolon:=False, Comma:=False, Space:=False, Other:=False,
FieldInfo _
:=Array(1, 2), TrailingMinusNumbers:=True
End Sub
Now, what I wanted to do is, to expand the Range, so, change the above
to something like
Sub Convert2Text()
'
' Convert2Text Macro
'
Selection.TextToColumns Destination:=Range("AI1..FA255"),
DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False,
Tab:=True, _
Semicolon:=False, Comma:=False, Space:=False, Other:=False,
FieldInfo _
:=Array(1, 2), TrailingMinusNumbers:=True
End Sub
But VB does not like it, could I use a range like that? Or syntax
error? Tks.