Table of Contents

VBR00003 — Return without GoSub

Severity: Error  ·  Family: VBR (runtime semantics)  ·  Source metadata: VBRuntimeErrorInfo

A Return runs with no GoSub to return to.

MS-VBA run-time error 3; the numeric portion of the code is the error's number. This code is raised by ProcedureExecutor.

How it is raised

Situation Example Resolution
A Return runs with no GoSub to return to. Return in a procedure whose GoSub never ran Reach a Return only through a GoSub.

See also


⏮️ VBR-0001 Application-defined or object-defined error | ⏭️ VBR00005 Invalid procedure call or argument


ACCUEIL • HOME | ℹ️ BIENVENUE • WELCOME | 🧩 BÂTISSONS • BUILD | RD-VBAL | SDK | 🌐 rubberduckvba.ca