G
Gabriel
Hi,
I have a lot of columns on the same worksheet. I have to apply
TextToColumns to each column. This takes me quite long. The delimiter
is an equal sign (=).
###
Sub TextToColumns()
dim usedcolumn as range
For Each UsedColumn In ActiveWorkbook.ActiveSheet
UsedRange.TextToColumns Destination:=RANGE("a1"),
DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False,
:=False,
Semicolon:=False, Comma:=False, Space:=False, Other:=True,
OtherChar :="=", FieldInfo:=Array(Array(1, 1), Array(2,
1)), TrailingMinusNumbers:=True
Next UsedRange
End Sub
###
I've managed to start a code but.. It probably has to do something
with the destination Range... Does anyone have a suggestion?
Thank you - Gabriel
I have a lot of columns on the same worksheet. I have to apply
TextToColumns to each column. This takes me quite long. The delimiter
is an equal sign (=).
###
Sub TextToColumns()
dim usedcolumn as range
For Each UsedColumn In ActiveWorkbook.ActiveSheet
UsedRange.TextToColumns Destination:=RANGE("a1"),
DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False,
:=False,
Semicolon:=False, Comma:=False, Space:=False, Other:=True,
OtherChar :="=", FieldInfo:=Array(Array(1, 1), Array(2,
1)), TrailingMinusNumbers:=True
Next UsedRange
End Sub
###
I've managed to start a code but.. It probably has to do something
with the destination Range... Does anyone have a suggestion?
Thank you - Gabriel