Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.26 KB

set-next-statement-can-only-apply-to-executable-lines-within-current-procedure.md

File metadata and controls

24 lines (15 loc) · 1.26 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
Set Next Statement can only apply to executable lines within current procedure.
vblr6.chm1040350
vblr6.chm1040350
4e5c0a9d-95ec-ee89-499f-42af2b9d44ec
06/08/2017
medium

Set Next Statement can only apply to executable lines within current procedure.

You can choose the Set Next Statement command to indicate where a suspended program should begin when execution is continued. This error has the following causes and solutions:

  • When you chose the command, the cursor was on a line that didn't contain an executable statement. Place the cursor on a line with an executable statement and try again. Declarations, line labels, and comments aren't executable, so lines with only declarations, labels, and comments can't be the targets of the Set Next Statement command.

  • When you chose the command, the cursor was on a line outside the currently executing procedure.

    Place the cursor on a line within the currently executing procedure.

[!includeSupport and feedback]