Partager via


'Exit Sub' n'est pas valide dans 'Function' ni 'Property'

Mise à jour : novembre 2007

'Exit Sub' is not valid in a Function or Property

Exit Sub apparaît dans une procédure Function ou Property. Une instruction Exit doit correspondre au bloc dans lequel elle apparaît.

ID d'erreur : BC30065

Pour corriger cette erreur

  • Remplacez Exit Sub par l'instruction Exit Function ou Exit Property, selon le cas.

Voir aussi

Concepts

Sub, procédures

Function, procédures

Procédures Property