title: Split and VBA.Split
body: <p>Playing with excel and came up with this error</p>
  
  <pre><code>    Sub Split()
  
  Dim txt As String
  Dim x As Variant
  txt = Sheets("Raw").Cells(2, 2).Value
  MsgBox (txt)
  x = Split(txt, ",")
  For Each i In x
  MsgBox (i)
  Next
  </code></pre>
  
  <p>Give me an error of two many arguments for the split function</p>
  
  <p>however </p>
  
  <pre><code>    Sub Split()
  
  Dim txt As String
  Dim x As Variant
  txt = Sheets("Raw").Cells(2, 2).Value
  MsgBox (txt)
  x = VBA.Split(txt, ",")
  For Each i In x
  MsgBox (i)
  Next
  </code></pre>
  
  <p>works just fine? </p>
  
  <p>So whats going on, I am sure i have used split before with out needing the vba. prefix? </p>
  
  <p>Cheers</p>
  
  <p>Aaron </p>