Hi all
Probably a very simple question, but I cant find an answer anywhere on line. What do I need following Other:True for a Colon?
I know how to do it in the sheet but I need to do it with vba
thanks
Paul
Probably a very simple question, but I cant find an answer anywhere on line. What do I need following Other:True for a Colon?
I know how to do it in the sheet but I need to do it with vba
thanks
Paul
Code:
Sub TextToColumnsRangeSelection()
On Error Resume Next
Dim MySelection As Range
Application.DisplayAlerts = False
Set MySelection = Sheet1.Range("A1:A7")
MySelection.TextToColumns _
Destination:=MySelection, _
DataType:=xlDelimited, _
TextQualifier:=xlTextQualifierDoubleQuote, _
ConsecutiveDelimiter:=False, _
Tab:=False, _
Semicolon:=False, _
Comma:=False, _
Space:=False, _
Other:=True
End Sub