VBR00010 — This array is fixed or temporarily locked
Severity: Error · Family: VBR (runtime semantics) ·
Source metadata: VBRuntimeErrorInfo
An array that is fixed-size or locked is resized or erased.
MS-VBA run-time error 10; the numeric portion of the code is the error's number. This code is raised by ArrayStatementRuntimeSemantics.
How it is raised
| Situation | Example | Resolution |
|---|---|---|
| An array that is fixed-size or locked is resized or erased. | ReDim of an array a procedure is using by reference |
Use a dynamic array, and resize it where nothing holds it. |
See also
⏮️ VBR00009 Subscript out of range | ⏭️ VBR00011 Division by zero
ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca