title: Run recorded Text to Column code on selected cell
body: <p>I am trying to run the Text to Column function. I recorded a macro and it appears to work for the first attempt in the cell I recorded the macro for. I need this macro to run for any cells I select so I changed the range to "ActiveCell" but this seems to break the code.</p>
  
  <p>Recorded Macro:</p>
  
  <pre><code>Selection.TextToColumns Destination:=Range("X32"), DataType:=xlDelimited, _
  TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
  Semicolon:=True, Comma:=False, Space:=False, Other:=False, FieldInfo _
  :=Array(Array(1, 2), Array(2, 1), Array(3, 1)), TrailingMinusNumbers:=True
  End Sub
  </code></pre>