VBR00444 — Method not applicable in this context
Severity: Error · Family: VBR (runtime semantics) ·
Source metadata: VBRuntimeErrorInfo
A method is called where it does not apply.
MS-VBA run-time error 444; the numeric portion of the code is the error's number. A UserForm's Controls.Remove raises it for a control the form's designer declared: only a control the program added at run time (Controls.Add) can be removed (Excel-measured).
How it is raised
| Situation | Example | Resolution |
|---|---|---|
Controls.Remove is given a control of the form's designer, by its name or its position. |
Me.Controls.Remove "TextBox1" |
Hide the control instead (TextBox1.Visible = False), or remove only the controls the program added. |
See also
⏮️ VBR00443 Automation object does not have a default value | ⏭️ VBR00445 Object doesn't support this action
ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca