title: Cannot initialize the value of an array in VBA
body: <p>I am still new to VBA. here is the code:</p>
  
  <pre><code>Sub Macro1()
  Dim NumberSeq() As Integer = {1,2,3,4}
  End Sub
  </code></pre>
  
  <p>It's just the initialization of an array and I saw it work for others. But I always get the warning window: Compile error: Expected: end of statement with highlight on the equal mark"="</p>
  
  <p>Don't know what happened here. Please advice, thank you a lot!!</p>