Hi all,
My first post ... My problem is that the method "TextToColumns" works well on Excel-VBA 2003, but not on 2000 !
The error specified is : "Execution Error '1004' - Error defined by the application or the object"
My code is :
Moreover, I didn't succeed in finding what TextQualifier, FieldInfo and TrailingMinusNumbers mean here. Are they necessary ?
Thanks for your help. Best regards.
Rodie
My first post ... My problem is that the method "TextToColumns" works well on Excel-VBA 2003, but not on 2000 !
The error specified is : "Execution Error '1004' - Error defined by the application or the object"
My code is :
Code:
Columns("A:A").Select
Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
Semicolon:=False, Comma:=False, Space:=False, Other:=True, OtherChar:=":", _
FieldInfo:=Array(Array(1, 1), Array(2, 1)), TrailingMinusNumbers:=True
Thanks for your help. Best regards.
Rodie