mrinal saha
Board Regular
- Joined
- Jan 20, 2009
- Messages
- 229
Hi,
In below code, i have given the destination = range(b2). But everytime I run the code either the data splits and get pasted in b3 or b4, but not in b2. Any specific reason for this..
Columns("A:A").Select
Selection.TextToColumns Destination:=Range("b2"), DataType:=xlFixedWidth, _
FieldInfo:=Array(Array(0, 1), Array(12, 1), Array(20, 1), Array(28, 1), Array(40, 1), _
Array(51, 1), Array(115, 1), Array(147, 1), Array(179, 1)), TrailingMinusNumbers:= _
True
Columns("A:A").Delete
thanks,
Mrinal
In below code, i have given the destination = range(b2). But everytime I run the code either the data splits and get pasted in b3 or b4, but not in b2. Any specific reason for this..
Columns("A:A").Select
Selection.TextToColumns Destination:=Range("b2"), DataType:=xlFixedWidth, _
FieldInfo:=Array(Array(0, 1), Array(12, 1), Array(20, 1), Array(28, 1), Array(40, 1), _
Array(51, 1), Array(115, 1), Array(147, 1), Array(179, 1)), TrailingMinusNumbers:= _
True
Columns("A:A").Delete
thanks,
Mrinal