Have a first and last name in cell C10. Recorded a macro to use TextToColumns.
Selection.TextToColumns Destination:=Range("C10"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo _
I would like to be able to run the macro for any cell, so I changed the "C10" in the first line above to ActiveCell, ActiveCell thinking it would work... but I get an error. What am I missing here?
Thanks!
Selection.TextToColumns Destination:=Range("C10"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo _
I would like to be able to run the macro for any cell, so I changed the "C10" in the first line above to ActiveCell, ActiveCell thinking it would work... but I get an error. What am I missing here?
Thanks!