Function 或 Property 中的 'Exit Sub' 無效

更新:2007 年 11 月

Exit Sub 出現在 Function 程序或 Property 程序。Exit 陳述式必須對應其所出現的區塊。

錯誤 ID:BC30065

若要更正這個錯誤

  • 用適當的 Exit Function 或 Exit Property 陳述式取代 Exit Sub。

請參閱

概念

Sub 程序

Function 程序

Property 程序