title: Excel Crashes when workbook is opened
body: <p>I cannot figure out why my excel workbook file keeps on crashing everytime I open the file.</p>
  
  <p>I have this event handler which I'm sure the one causing the problem.</p>
  
  <pre><code>Option Explicit
  
  Private Sub Workbook_Open()
      On Error Resume Next
      CurrEntities = Array("Curr1,Ent1", "Curr2,Ent2", "Curr3,Ent3")
  End Sub
  </code></pre>
  
  <p>CurrEntities is declared as public in separate Module.</p>
  
  <pre><code>Public CurrEntities() As Variant
  </code></pre>
  
  <p>When I try to comment out the line - CurrEntities = Array("Curr1,Ent1", "Curr2,Ent2", "Curr3,Ent3"), the file can be opened without a problem.</p>
  
  <p>So strange because it doesn't give any run time error, it will just prompt a message "Microsoft Excel has stopped working" and then the Excel closes.</p>
  
  <p>Is there something I missed or violated an array variable declaration?</p>