title | keywords | f1_keywords | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Exit Function not allowed in Sub or Property |
vblr6.chm1040098 |
|
541d6a31-dc72-742a-d589-5f7be4c0edb1 |
06/08/2017 |
medium |
An Exit statement must match the procedure in which it occurs. This error has the following cause and solution:
- You used Exit Function in a Sub or Property procedure. Use Exit Sub or Exit Property for these types of procedures.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
[!includeSupport and feedback]