title: Run time Error '6':Visual Basic
body: <p>I am using Visual Basic 6<br>
  I have the following code structure:<br>
  FUNCNINFO is a structure</p>
  
  <pre><code>Public funcTable() As FUNCNINFO
  -----
  ------
  ReDim Preserve funcTable(0 To upsize + ns)
  </code></pre>
  
  <p>When the value of (upsize + ns) is exceeding 32766,it is giving the runtime overflow error '6'
  Do you have any idea of the cause and the solution?</p>