-
Subscript is out of bounds (error 9).
Array elements and collection members can only be accessed within a defined scope. There are the following causes and workarounds for this error:
A non-existent array element is referenced.
The subscript may be larger or smaller than the subscript range, or the array on this side of the application may not have a specified range. Check the declaration of the array to confirm its upper and lower bounds. If you are using a rescoped array, you should use the ubound and lbound functions to determine the array access.
If the index is specified as a variable, you should check the spelling of the variable name.
The number of elements is not specified when declaring the array. For example, the following ** will cause this error:
dim myarray() as integer
myarray(8) = 234 'Causes Error 9.
Visual Basic does not automatically set arrays without a specified range to 0 10. Instead, you must use dim or redim to specify the number of elements in the array.
A non-existent collection member is referenced.
Try using for each....next structure instead of specifying element subscripts.
Using a shorthand form of subscripts, the result is that the wrong element is specified.
For example, when using !, on a collectionoperator, !A key is automatically assigned.
For example, object!And it's the same. In this case, an error occurs if the keyname in the collection represents an incorrect key.
To improve this error, use the correct key name or index in the collection object.
uid231147 Posts1286 Essence0 Experience1396 Prestige0 Reading Permissions50 GenderMale **Time: 872 hours View details. top
-
I'm the same with you.
-
It may be that there is a problem with your IE browser, open the browser Tools Internet Options Advanced Pants Reputation Hand, click Disable Script Debugging (Internet Explorer) and Disable Script Debugging (Void Other), cancel the notification option for each script error, and then OK, restart the machine, and see if it is okay.
-
Run error, out of range.
-
Poisoned antivirus, with Kaspersky.
-
Clean up the C drive space and give it a try.
-
run-time error'9'Yes: Running error"9"
Subscript out of range means: The array definition is out of bounds.
-
Subscript is out of bounds! You don't have a certain array in your program.
-
Subscript is out of bounds This is best to check your **, it should exceed the maximum range of the array definition. Detailed** also I can't say,
-
To be clear, is it a mobile phone driver? Uninstall and reinstall to try.