Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 756 Bytes

exit-function-not-allowed-in-sub-or-property.md

File metadata and controls

23 lines (14 loc) · 756 Bytes
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
Exit Function not allowed in Sub or Property
vblr6.chm1040098
vblr6.chm1040098
541d6a31-dc72-742a-d589-5f7be4c0edb1
06/08/2017
medium

Exit Function not allowed in Sub or Property

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]