Sub 或 Property 中的 'Exit Function' 無效

更新:2007 年 11 月

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

錯誤 ID︰BC30067

若要更正這個錯誤

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

請參閱

概念

Sub 程序

Function 程序

Property 程序