Subscript out of range

Runtime Errors, Syntax Errors Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Subscript out of range

The array you are trying to access contains fewer elements than you expect. For example, attempting to access the 11th element of an array dimensioned for ten elements.

To correct this error

  • Make sure your code contains bounds checking that ensures elements beyond the scope of the array are not referenced.
  • Re-dimension the array to a larger size that meets your needs.
See Also

UBound Function | LBound Function | Dim Statement | ReDim Statement


VBScriptOnline.com - Runtime Errors, Syntax Errors