DaveRadford
Board Regular
- Joined
- Feb 18, 2010
- Messages
- 63
Afternoon All,
I have a macro or rather i recorded one for what i wanted to automate:
Columns("A:A").Select
Selection.TextToColumns Destination:=Range( _
"Table_owssvr_1[[#Headers],[Workstage]]"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=False, Other:=False, FieldInfo _
:=Array(1, 1), TrailingMinusNumbers:=True
May be a fairly silly questions, but, when i try and call this in a sub or even run the macro, it complains that i can only do one column at a time. .TestToColumns is what its called so i dont get it. I have tried the range being A:A etc.
Thanks,
I have a macro or rather i recorded one for what i wanted to automate:
Columns("A:A").Select
Selection.TextToColumns Destination:=Range( _
"Table_owssvr_1[[#Headers],[Workstage]]"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=False, Other:=False, FieldInfo _
:=Array(1, 1), TrailingMinusNumbers:=True
May be a fairly silly questions, but, when i try and call this in a sub or even run the macro, it complains that i can only do one column at a time. .TestToColumns is what its called so i dont get it. I have tried the range being A:A etc.
Thanks,